diff --git a/core/core-frontend/src/custom-component/v-query/Select.vue b/core/core-frontend/src/custom-component/v-query/Select.vue index 8c4627a7da..920bf6e3e1 100644 --- a/core/core-frontend/src/custom-component/v-query/Select.vue +++ b/core/core-frontend/src/custom-component/v-query/Select.vue @@ -290,9 +290,11 @@ const setOldMapValue = arr => { const customSort = () => { if (config.value.sortList?.length && config.value.sort === 'customSort') { - options.value.sort( - (a, b) => config.value.sortList.indexOf(a.value) - config.value.sortList.indexOf(b.value) - ) + options.value = [ + ...options.value.sort( + (a, b) => config.value.sortList.indexOf(a.value) - config.value.sortList.indexOf(b.value) + ) + ] } } diff --git a/core/core-frontend/src/views/visualized/data/datasource/form/ExcelDetail.vue b/core/core-frontend/src/views/visualized/data/datasource/form/ExcelDetail.vue index f0c43020f7..11103feae7 100644 --- a/core/core-frontend/src/views/visualized/data/datasource/form/ExcelDetail.vue +++ b/core/core-frontend/src/views/visualized/data/datasource/form/ExcelDetail.vue @@ -1,5 +1,6 @@