[update] 修改bug88179
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user