Commit 015eba52 authored by 涂伟's avatar 涂伟

fix: '已附加/全部字段显示bug修复'

parent 6be5aede
......@@ -278,7 +278,9 @@ const TableManager = props => {
? `一行三列/${item.labelStyle ? `${item.labelStyle}布局` : '左右布局'}`
: item.tableStyle;
let fieldCount = Number(item.fieldCount);
let extraFieldCount = Number(item.extraFieldCount);
let extraFieldCount = Number(
item.extraFieldCount === '(无)' ? 0 : item.extraFieldCount,
);
// item.fieldCount extraFieldCount
item.fieldRatio = `${fieldCount}/${fieldCount + extraFieldCount}`;
});
......
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