mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 10:18:11 +08:00
feat(仪表盘):分享filter切换保留是否已分享状态
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user