fix: 新建仪表板报错

This commit is contained in:
fit2cloud-chenyw
2021-06-08 18:33:28 +08:00
parent ed068553db
commit 8e4e4a9d01

View File

@@ -93,6 +93,7 @@ export default {
},
filters() {
// 必要 勿删勿该 watch数组哪怕发生变化 oldValue等于newValue ,深拷贝解决
if (!this.element.filters) return []
return JSON.parse(JSON.stringify(this.element.filters))
},
...mapState([