分组更新问题

This commit is contained in:
kerwincui
2022-06-15 19:12:23 +08:00
parent c9434d4be7
commit 82d3f73eeb
2 changed files with 3 additions and 2 deletions

View File

@@ -26,7 +26,7 @@
<template slot-scope="scope">
<el-tag type="primary" v-if="scope.row.mode==1">影子模式</el-tag>
<el-tag type="success" v-else-if="scope.row.mode==2">在线模式</el-tag>
<el-tag type="info" v-else>其他</el-tag>
<el-tag type="info" v-else>其他信息</el-tag>
</template>
</el-table-column>
<el-table-column label="时间" align="center" prop="createTime" width="150">

View File

@@ -282,7 +282,6 @@ export default {
this.queryParams.productId = null;
}
this.getList();
this.getGroupList();
},
activated() {
const time = this.$route.query.t;
@@ -509,6 +508,8 @@ export default {
this.mqttSubscribe(this.deviceList);
this.loading = false;
});
// 获取最新分组列表
this.getGroupList();
},
// 取消按钮
cancel() {