From 81e62990f9f541138aadfe56544314c0205fa546 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 16 Nov 2021 17:30:01 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1243=20fix:=20asset=20endpint=20=E5=BA=95?= =?UTF-8?q?=E9=83=A8=E5=BC=B9=E7=AA=97=E6=B7=BB=E5=8A=A0=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/chart-list.vue | 1 - .../src/components/common/bottomBox/tabs/panelTabNew.vue | 8 +++++++- nezha-fronted/src/components/common/searchInput.vue | 1 - 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/nezha-fronted/src/components/charts/chart-list.vue b/nezha-fronted/src/components/charts/chart-list.vue index fd5dc134e..08b229d0a 100644 --- a/nezha-fronted/src/components/charts/chart-list.vue +++ b/nezha-fronted/src/components/charts/chart-list.vue @@ -1515,7 +1515,6 @@ export default { const arr = [] arr.push(this.$get(`/asset/asset/${assetId}`)) arr.push(this.$get(`/asset/asset/feature/${assetId}`)) - console.log(this.$refs['editChart' + chartInfo.id][0]) if (this.$refs['editChart' + chartInfo.id][0]) { this.$refs['editChart' + chartInfo.id][0].showLoad() } diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue index c02d2031b..12be0e6f1 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue @@ -41,6 +41,9 @@
{{ $t('overall.AddByTemplate') }}
+ +
{{ $t('overall.syncChart') }}
+
@@ -74,6 +77,9 @@
{{ $t('overall.AddByTemplate') }}
+ +
{{ $t('overall.syncChart') }}
+
@@ -553,7 +559,7 @@ export default { chartBySync () { this.$post('visual/panel/chart/syncTmpl', { pid: this.obj.id }).then(res => { if (res.code === 200) { - this.getTableData() + this.getTableData(this.obj.id) this.$message.success(this.$t('tip.syncSuccess')) } else { this.$message.error(res.msg) diff --git a/nezha-fronted/src/components/common/searchInput.vue b/nezha-fronted/src/components/common/searchInput.vue index 8c3038538..e37bdad24 100644 --- a/nezha-fronted/src/components/common/searchInput.vue +++ b/nezha-fronted/src/components/common/searchInput.vue @@ -965,7 +965,6 @@ export default { restructure_historyDate () { if (localStorage.getItem('nz-history-' + this.where) !== undefined && localStorage.getItem('nz-history-' + this.where) !== null) { this.history_once = JSON.parse(localStorage.getItem('nz-history-' + this.where)) - console.log(this.history_once) } }, clear_search_list (e) {