forked from github/dataease
feat(仪表盘):分享filter切换保留是否已分享状态
This commit is contained in:
parent
7b069ffe26
commit
eedc3076a0
@ -71,9 +71,12 @@ export default {
|
|||||||
const arr = obj[this.fieldName]
|
const arr = obj[this.fieldName]
|
||||||
if (arr.length === 0) {
|
if (arr.length === 0) {
|
||||||
this.initColumnLabel()
|
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() {
|
save() {
|
||||||
const rows = this.$refs.table.store.states.selection
|
const rows = this.$refs.table.store.states.selection
|
||||||
|
@ -78,9 +78,12 @@ export default {
|
|||||||
const arr = obj[this.fieldName]
|
const arr = obj[this.fieldName]
|
||||||
if (arr.length === 0) {
|
if (arr.length === 0) {
|
||||||
this.initColumnLabel()
|
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() {
|
save() {
|
||||||
|
Loading…
Reference in New Issue
Block a user