Commit 2fb6fb20 by chenyu

update: bugfix

parent 37bbe730
......@@ -975,7 +975,8 @@ export default {
let tempArr = res.data.result;
showFields = tempArr;
tempArr.forEach(item => {
if (item.check) {
if(item.code==='name') this.checkedFields.push(item.code);
else if (item.check) {
this.checkedFields.push(item.code);
}
this.memberFields.push(item.code);
......
......@@ -490,6 +490,7 @@
<el-checkbox
:label="item"
:key="item"
:disabled="item==='name'"
>{{item | formatFieldName }}</el-checkbox>
</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