[update 查询组件] 报错

This commit is contained in:
danshihao
2024-07-16 18:13:21 +08:00
parent ee05b64d0a
commit 7823641633
+3 -1
View File
@@ -393,7 +393,9 @@ export default {
this.searchList = res.result
// 标准状态特殊处理成多选
const standardStateIndex = this.searchList.findIndex(item => item.dbFieldName === 'standard_state')
this.searchList[standardStateIndex].fieldShowType = FieldType.OPTION_MORE.value
if (standardStateIndex !== -1) {
this.searchList[standardStateIndex].fieldShowType = FieldType.OPTION_MORE.value
}
this.getOptionsData() // 获取下拉数据
console.log(this.searchList)
}