修复添加通道时未设置设备ID
This commit is contained in:
@@ -74,6 +74,7 @@ export default {
|
||||
message: "保存成功",
|
||||
type: "success",
|
||||
});
|
||||
this.jtChannel = res.data.data
|
||||
}else {
|
||||
this.$message({
|
||||
showClose: true,
|
||||
|
||||
@@ -309,7 +309,9 @@ export default {
|
||||
this.initData();
|
||||
},
|
||||
add: function () {
|
||||
this.jtChannel = {};
|
||||
this.jtChannel = {
|
||||
terminalDbId: this.deviceId
|
||||
};
|
||||
},
|
||||
// 编辑
|
||||
handleEdit(row) {
|
||||
|
||||
Reference in New Issue
Block a user