提交 d9084670 authored 作者: junjie's avatar junjie

feat(仪表盘):仪表盘 过滤组件

上级 df841373
......@@ -51,6 +51,10 @@ export default {
}
},
watch: {
'$store.getters.conditions': function(newVal, oldVal) {
this.filter.filter = newVal
this.getData(this.element.propValue.viewId)
},
filter(val) {
this.getData(this.element.propValue.viewId)
},
......@@ -95,6 +99,7 @@ export default {
}
},
created() {
this.filter.filter = this.$store.getters.conditions
this.getData(this.element.propValue.viewId)
},
mounted() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论