提交 4463c862 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

fix: tabs组件多个选项卡过滤条件逻辑错误

上级 50a1c18e
......@@ -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)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论