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

fix: tab新增失败

上级 4883f388
...@@ -48,7 +48,7 @@ export const buildFilterMap = panelItems => { ...@@ -48,7 +48,7 @@ export const buildFilterMap = panelItems => {
} }
if (element.type === 'de-tabs') { if (element.type === 'de-tabs') {
element.options.tabList && element.options.tabList.forEach(tab => { element.options.tabList && element.options.tabList.forEach(tab => {
if (tab.content.propValue && tab.content.propValue.viewId) { if (tab.content && tab.content.propValue && tab.content.propValue.viewId) {
result[tab.content.propValue.viewId] = [] result[tab.content.propValue.viewId] = []
} }
}) })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论