fix: 修改删除chart报错的问题

This commit is contained in:
zhangyu
2021-12-14 18:57:21 +08:00
parent dccf99f3eb
commit 8452916491

View File

@@ -471,6 +471,9 @@ export default {
this.$message.error(response.msg) this.$message.error(response.msg)
} }
}) })
}).catch(() => {
this.chart = {}
this.$store.dispatch('clearPanel')
}) })
}, },
delChartOk () { delChartOk () {