修改稳态指标排序错误问题
This commit is contained in:
@@ -266,7 +266,9 @@ const countOptions: any = ref([])
|
||||
const legendDictList: any = ref([])
|
||||
queryByCode('portable-harmonic').then(res => {
|
||||
queryCsDictTree(res.data.id).then(item => {
|
||||
indexOptions.value = item.data
|
||||
indexOptions.value = item.data.sort((a: any, b: any) => {
|
||||
return a.sort - b.sort
|
||||
})
|
||||
searchForm.value.index[0] = indexOptions.value[0].id
|
||||
// searchForm.value.index = indexOptions.value[0].id
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user