Browse Source

顺德居字段回显不正常问题

dev-map-local
dai 3 years ago
parent
commit
e82d8b5f50
  1. 19
      src/views/modules/shequ/cpts/people-more.vue
  2. 19
      src/views/modules/visual/basicinfo/cpts/people-more.vue

19
src/views/modules/shequ/cpts/people-more.vue

@ -594,16 +594,23 @@ export default {
} }
}); });
}); });
console.log("1111111111111111111111111", this.groupList);
this.groupList.forEach((subList, index) => { await Promise.all(
subList.itemList.forEach(async (item, subIndex) => { this.groupList.map((subList, index) => {
if (item.optionSourceType == "remote" && item.optionSourceValue) { return Promise.all(
subList.itemList.map(async (item, subIndex) => {
if (
item.optionSourceType == "remote" &&
item.optionSourceValue
) {
this.groupList[index].itemList[subIndex].options = this.groupList[index].itemList[subIndex].options =
await this.getOptions(item.optionSourceValue); await this.getOptions(item.optionSourceValue);
} }
}); })
}); );
})
);
console.log("44444444", this.groupList);
let arr = [ let arr = [
{ {
groupId: "hs123", groupId: "hs123",

19
src/views/modules/visual/basicinfo/cpts/people-more.vue

@ -536,16 +536,23 @@ export default {
} }
}); });
}); });
console.log("1111111111111111111111111", this.groupList);
this.groupList.forEach((subList, index) => { await Promise.all(
subList.itemList.forEach(async (item, subIndex) => { this.groupList.map((subList, index) => {
if (item.optionSourceType == "remote" && item.optionSourceValue) { return Promise.all(
subList.itemList.map(async (item, subIndex) => {
if (
item.optionSourceType == "remote" &&
item.optionSourceValue
) {
this.groupList[index].itemList[subIndex].options = this.groupList[index].itemList[subIndex].options =
await this.getOptions(item.optionSourceValue); await this.getOptions(item.optionSourceValue);
} }
}); })
}); );
})
);
console.log("44444444", this.groupList);
let arr = [ let arr = [
{ {

Loading…
Cancel
Save