单体电池接口新增参数
This commit is contained in:
@ -171,7 +171,7 @@ export default {
|
||||
},
|
||||
async getClusterList(){
|
||||
this.clusterloading =true
|
||||
await getClusterNameList(this.search.stackId).then(response => {
|
||||
await getClusterNameList({stackDeviceId: this.search.stackId, siteId: this.siteId}).then(response => {
|
||||
const data = JSON.parse(JSON.stringify(response?.data || []))
|
||||
this.clusterOptions = data
|
||||
this.search.clusterId = data.length > 0 ? data[0].id : ''
|
||||
|
||||
Reference in New Issue
Block a user