diff --git a/config/index.js b/config/index.js index cd4a791..45fc349 100644 --- a/config/index.js +++ b/config/index.js @@ -79,7 +79,7 @@ }, // Various Dev Server settings - host: "localhost", // can be overwritten by process.env.HOST + host: "192.168.20.97", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/config/index.js b/config/index.js index cd4a791..45fc349 100644 --- a/config/index.js +++ b/config/index.js @@ -79,7 +79,7 @@ }, // Various Dev Server settings - host: "localhost", // can be overwritten by process.env.HOST + host: "192.168.20.97", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/components/ConfigManager/SiteManagement.vue b/src/components/ConfigManager/SiteManagement.vue index 5ecb13e..36a1de7 100644 --- a/src/components/ConfigManager/SiteManagement.vue +++ b/src/components/ConfigManager/SiteManagement.vue @@ -587,6 +587,9 @@ }) .then(res => { loadingdelet.close(); + if(res.data.code === 1) { + this.siteTableInfo.refresh = Math.random(); + } this.$message({ type: res.data.code === 1 ? "success" : "error", message: res.data.msg diff --git a/config/index.js b/config/index.js index cd4a791..45fc349 100644 --- a/config/index.js +++ b/config/index.js @@ -79,7 +79,7 @@ }, // Various Dev Server settings - host: "localhost", // can be overwritten by process.env.HOST + host: "192.168.20.97", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/components/ConfigManager/SiteManagement.vue b/src/components/ConfigManager/SiteManagement.vue index 5ecb13e..36a1de7 100644 --- a/src/components/ConfigManager/SiteManagement.vue +++ b/src/components/ConfigManager/SiteManagement.vue @@ -587,6 +587,9 @@ }) .then(res => { loadingdelet.close(); + if(res.data.code === 1) { + this.siteTableInfo.refresh = Math.random(); + } this.$message({ type: res.data.code === 1 ? "success" : "error", message: res.data.msg diff --git a/src/components/ConfigManager/device.vue b/src/components/ConfigManager/device.vue index 46fbd61..34dc2da 100644 --- a/src/components/ConfigManager/device.vue +++ b/src/components/ConfigManager/device.vue @@ -282,6 +282,8 @@ this.resetForm(); this.btnLoading = false; this.factorQuery.searchStr = ""; + this.isRelatedFactorTableInfo.data = []; + this.unRelatedFactorTableInfo.data = []; } }, "dialogInfo.type"(val) { diff --git a/config/index.js b/config/index.js index cd4a791..45fc349 100644 --- a/config/index.js +++ b/config/index.js @@ -79,7 +79,7 @@ }, // Various Dev Server settings - host: "localhost", // can be overwritten by process.env.HOST + host: "192.168.20.97", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/components/ConfigManager/SiteManagement.vue b/src/components/ConfigManager/SiteManagement.vue index 5ecb13e..36a1de7 100644 --- a/src/components/ConfigManager/SiteManagement.vue +++ b/src/components/ConfigManager/SiteManagement.vue @@ -587,6 +587,9 @@ }) .then(res => { loadingdelet.close(); + if(res.data.code === 1) { + this.siteTableInfo.refresh = Math.random(); + } this.$message({ type: res.data.code === 1 ? "success" : "error", message: res.data.msg diff --git a/src/components/ConfigManager/device.vue b/src/components/ConfigManager/device.vue index 46fbd61..34dc2da 100644 --- a/src/components/ConfigManager/device.vue +++ b/src/components/ConfigManager/device.vue @@ -282,6 +282,8 @@ this.resetForm(); this.btnLoading = false; this.factorQuery.searchStr = ""; + this.isRelatedFactorTableInfo.data = []; + this.unRelatedFactorTableInfo.data = []; } }, "dialogInfo.type"(val) { diff --git a/src/components/newFiber/NewFiberSearch.vue b/src/components/newFiber/NewFiberSearch.vue index 98c49ef..ce62fc3 100644 --- a/src/components/newFiber/NewFiberSearch.vue +++ b/src/components/newFiber/NewFiberSearch.vue @@ -217,6 +217,7 @@ :prop="item.field" :label="item.title" :key="index" + show-overflow-tooltip > @@ -264,6 +265,7 @@ :prop="col.field" :label="col.title" :key="index" + show-overflow-tooltip >