Browse Source

设备列表-操作按钮

Signed-off-by: hsshuxian <3049816743@qq.com>
hsshuxian 4 months ago
parent
commit
915c815b60
1 changed files with 1 additions and 5 deletions
  1. 1 5
      ems-ui-cloud/src/views/devmgr/attr/index.vue

+ 1 - 5
ems-ui-cloud/src/views/devmgr/attr/index.vue

@@ -272,14 +272,11 @@ export default {
           modeCode:this.curRow.modeCode,
           abilityParam:'{\"type\":\"event\",\"key\":1}',
         }).then(response => {
-          // 处理成功逻辑
           this.$message({ message: '设备能力执行成功', type: 'success' });
-          // 如果需要,可以刷新数据
-          this.handleDetail(this.curRow);
+
         })
       },
     handleCloseOperate(row) {
-      // 调用接口
       listcallAbility({
         abilityKey: 'event-0',
         objCode: this.curRow.deviceCode,
@@ -287,7 +284,6 @@ export default {
         modeCode:this.curRow.modeCode,
         abilityParam:'{\"type\":\"event\",\"key\":0}',
       }).then(response => {
-        // 处理成功逻辑
         this.$message({ message: '设备能力执行成功', type: 'success' });
 
       })