feat: There is no way the, 删除123 企标详情 加逻辑 企标 关联属性数据不存在 报错问题
This commit is contained in:
@@ -3179,12 +3179,14 @@ export default {
|
||||
location['child1'] = childList
|
||||
}
|
||||
}
|
||||
|
||||
for (let i = 0; i < displayLocation.length; i++) {
|
||||
// sss11
|
||||
if(displayLocation[i].label !== '基础信息' && displayLocation[i].label !== '过程稿件'){
|
||||
const childList = displayLocation[i].child.filter ( item => item.value !== null && item.value !== '');
|
||||
if(childList.length === 0){
|
||||
if((displayLocation[i].label !== '基础信息' && displayLocation[i].label !== '过程稿件') || !dynamicFormField){
|
||||
let childList = []
|
||||
if(displayLocation[i].child){
|
||||
childList = displayLocation[i].child.filter ( item => item.value !== null && item.value !== '');
|
||||
}
|
||||
if(displayLocation[i].label !== '基础信息' && childList.length === 0){
|
||||
displayLocation.splice(i,1)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user