diff --git a/nezha-fronted/src/components/page/dashboard/chartBox.vue b/nezha-fronted/src/components/page/dashboard/chartBox.vue index 97149f645..5b556ba3a 100644 --- a/nezha-fronted/src/components/page/dashboard/chartBox.vue +++ b/nezha-fronted/src/components/page/dashboard/chartBox.vue @@ -306,6 +306,9 @@ + + + @@ -353,7 +356,7 @@ expressions: [], legends: [], statistics: "", - + isEdit:false, editInfo: {}, isUrl:false, isSingleStat:false, @@ -1351,6 +1354,10 @@ deep: true, immediate: true, handler(n) { + console.log(n); + if(n.title){ + this.isEdit=true; + } this.editChart = JSON.parse(JSON.stringify(n)); if(!n.param.nullType){ this.editChart.param.nullType='connected';