Commit 520dc0f4 by chenyu

update: update

parent 2fb6fb20
......@@ -967,7 +967,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);
......
......@@ -495,6 +495,7 @@
<el-checkbox
:label="item"
:key="item"
:disabled="item==='name'"
>{{item | formatFieldName }}</el-checkbox>
</div>
</div>
......
......@@ -882,7 +882,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);
......
......@@ -488,6 +488,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