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

This commit is contained in:
junjie 2021-05-20 16:56:44 +08:00
parent df8413731e
commit d908467028

View File

@ -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() {