[update] 修改bug88179

This commit is contained in:
lideqin
2024-08-07 11:23:11 +08:00
parent 28c8ad2c0d
commit 5be15ce87d
+7
View File
@@ -465,6 +465,13 @@ export default {
if (standardStateIndex !== -1) {
this.searchList[standardStateIndex].fieldShowType = FieldType.OPTION_MORE.value
}
// 把标准名称放到第二个
const standardNameIndex = this.searchList.findIndex(item => item.dbFieldName === 'standard_name')
const standardName = this.searchList.find(item => item.dbFieldName === 'standard_name')
if (standardNameIndex !== -1) {
this.searchList.splice(standardNameIndex, 1)
this.searchList.splice(1, 0, standardName)
}
this.getOptionsData() // 获取下拉数据
console.log(this.searchList)
}