diff --git a/nezha-fronted/src/components/page/dashboard/chartBox.vue b/nezha-fronted/src/components/page/dashboard/chartBox.vue index 53afdcf8e..c94cc1eb3 100644 --- a/nezha-fronted/src/components/page/dashboard/chartBox.vue +++ b/nezha-fronted/src/components/page/dashboard/chartBox.vue @@ -886,7 +886,7 @@ export default { this.$message({ duration: 1000, type: 'success', message: this.$t('tip.saveSuccess') }) // this.$refs.chartForm.resetFields()// 清空表单 this.$emit('on-create-success', 'create', response.data, chartParams, { id: this.panelId, name: this.panelName }) - this.esc() + this.esc(true) } else { if (response.msg) { this.$message.error(response.msg)