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

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

parent 5dddd598
Pipeline #69655 passed with stages
...@@ -42,18 +42,22 @@ const ChooseTableType = props => { ...@@ -42,18 +42,22 @@ 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 => {
<div if (!ele.hidden) {
className={styles.tableBox} return (
key={ele.value} <div
onClick={() => createTable(ele.value)} className={styles.tableBox}
> key={ele.value}
<div className={styles.imgBox}> onClick={() => createTable(ele.value)}
<img src={`${window.location.origin}/civmanage/${ele.icon}`} alt="" /> >
</div> <div className={styles.imgBox}>
<div className={styles.title}>{ele.value}</div> <img src={`${window.location.origin}/civmanage/${ele.icon}`} alt="" />
</div> </div>
))} <div className={styles.title}>{ele.value}</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