feat: panel 编辑删除 抽取到 vuex

This commit is contained in:
zhangyu
2021-12-08 15:09:01 +08:00
parent fc18190944
commit 20a1d2b843
4 changed files with 56 additions and 2 deletions

View File

@@ -326,6 +326,7 @@ export default {
immediate: true,
handler (n) {
this.editChart = JSON.parse(JSON.stringify(n))
console.log(this.editChart)
if (this.editChart.groupId === -1) {
this.editChart.groupId = ''
}