|
|
@@ -476,12 +476,12 @@ export default {
|
|
|
const id = row.id || this.ids
|
|
|
getDevice(id).then(response => {
|
|
|
this.form = response.data;
|
|
|
+ this.devices=response.devices;
|
|
|
+ this.hostList=response.hostList;
|
|
|
this.open = true;
|
|
|
this.title = "编辑";
|
|
|
});
|
|
|
- listDevice().then(response => {
|
|
|
- this.hostList = response.rows;
|
|
|
- })
|
|
|
+
|
|
|
},
|
|
|
/** 提交按钮 */
|
|
|
submitForm() {
|