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

feat(仪表盘):分享filter切换保留是否已分享状态

上级 7b069ffe
......@@ -71,9 +71,12 @@ export default {
const arr = obj[this.fieldName]
if (arr.length === 0) {
this.initColumnLabel()
return
} else {
this.columnLabel = this.filter_options[arr[0]].text
}
this.columnLabel = this.filter_options[arr[0]].text
this.$nextTick(() => {
this.setCheckNodes()
})
},
save() {
const rows = this.$refs.table.store.states.selection
......
......@@ -78,9 +78,12 @@ export default {
const arr = obj[this.fieldName]
if (arr.length === 0) {
this.initColumnLabel()
return
} else {
this.columnLabel = this.filter_options[arr[0]].text
}
this.columnLabel = this.filter_options[arr[0]].text
this.$nextTick(() => {
this.setCheckNodes()
})
},
save() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论