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) {