forked from github/dataease
fix: tabs组件多个选项卡过滤条件逻辑错误
This commit is contained in:
parent
50a1c18eb2
commit
4463c86216
@ -274,6 +274,13 @@ export default {
|
||||
const components = deepCopy(this.componentData)
|
||||
components.forEach(view => {
|
||||
if (view.filters && view.filters.length > 0) { view.filters = [] }
|
||||
if (view.type === 'de-tabs') {
|
||||
view.options.tabList && view.options.tabList.length > 0 && view.options.tabList.forEach(tab => {
|
||||
if (tab.content && tab.content.filters && tab.content.filters.length > 0) {
|
||||
tab.content.filters = []
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
// 无需保存条件
|
||||
requestInfo.panelData = JSON.stringify(components)
|
||||
|
Loading…
Reference in New Issue
Block a user