Nez-687 fix:修改 模板预览 新增图表不刷新的问题

This commit is contained in:
zhangyu
2021-05-27 17:57:30 +08:00
parent 753f4d76d9
commit 95f92b079e

View File

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