Commit 6f8d9dbe authored by 涂伟's avatar 涂伟

fix: '新建表逻辑判断优化'

parent 5dddd598
Pipeline #69655 passed with stages
...@@ -42,7 +42,9 @@ const ChooseTableType = props => { ...@@ -42,7 +42,9 @@ const ChooseTableType = props => {
<div className={styles.groupName}>{item}</div> <div className={styles.groupName}>{item}</div>
</div> </div>
<div className={styles.tableContent}> <div className={styles.tableContent}>
{tableList[item].map(ele => ( {tableList[item].map(ele => {
if (!ele.hidden) {
return (
<div <div
className={styles.tableBox} className={styles.tableBox}
key={ele.value} key={ele.value}
...@@ -53,7 +55,9 @@ const ChooseTableType = props => { ...@@ -53,7 +55,9 @@ const ChooseTableType = props => {
</div> </div>
<div className={styles.title}>{ele.value}</div> <div className={styles.title}>{ele.value}</div>
</div> </div>
))} );
}
})}
</div> </div>
</div> </div>
))} ))}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment