Commit 4b3805dd by 李伟康

commit 修复门店选全部报错

1 parent a9bfc820
...@@ -499,7 +499,7 @@ export default { ...@@ -499,7 +499,7 @@ export default {
if (item.type === 'select') { if (item.type === 'select') {
if (this.baseData[item.optionsName]?.length && this.baseData[item.optionsName][0][this.showFormData[index].optionLabel] !== '全部') { if (this.baseData[item.optionsName]?.length && this.baseData[item.optionsName][0][this.showFormData[index].optionLabel] !== '全部') {
const temp = {} const temp = {}
temp[this.showFormData[index].optionId] = '' // temp[this.showFormData[index].optionId] = ''
temp[this.showFormData[index].optionLabel] = '全部' temp[this.showFormData[index].optionLabel] = '全部'
this.baseData[item.optionsName].unshift(temp) this.baseData[item.optionsName].unshift(temp)
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!