提交 8e4e4a9d authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

fix: 新建仪表板报错

上级 ed068553
......@@ -93,6 +93,7 @@ export default {
},
filters() {
// 必要 勿删勿该 watch数组,哪怕发生变化 oldValue等于newValue ,深拷贝解决
if (!this.element.filters) return []
return JSON.parse(JSON.stringify(this.element.filters))
},
...mapState([
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论