修复添加通道时未设置设备ID

This commit is contained in:
648540858
2024-12-09 14:41:14 +08:00
parent 1323d081e8
commit 4e48eb6cab
4 changed files with 8 additions and 3 deletions

View File

@@ -74,6 +74,7 @@ export default {
message: "保存成功",
type: "success",
});
this.jtChannel = res.data.data
}else {
this.$message({
showClose: true,

View File

@@ -309,7 +309,9 @@ export default {
this.initData();
},
add: function () {
this.jtChannel = {};
this.jtChannel = {
terminalDbId: this.deviceId
};
},
// 编辑
handleEdit(row) {