eztech-core-components 1.0.78 → 1.0.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/utils/table-helper.js +2 -2
package/package.json
CHANGED
package/utils/table-helper.js
CHANGED
|
@@ -1019,7 +1019,7 @@ export const tableMethods = {
|
|
|
1019
1019
|
const sort = this.sorts[ind]
|
|
1020
1020
|
let aVal = get(a, sort.prop)
|
|
1021
1021
|
let bVal = get(b, sort.prop)
|
|
1022
|
-
if (['index_name', 'custom_index_num', 'index_num'].includes(sort.prop)) {
|
|
1022
|
+
if (['index_name', 'custom_index_nums', 'custom_index_num', 'index_num'].includes(sort.prop)) {
|
|
1023
1023
|
aVal = aVal?.split('\n')[0]
|
|
1024
1024
|
bVal = bVal?.split('\n')[0]
|
|
1025
1025
|
const aVals = [aVal?.split('/')[0], aVal?.split('/')[1], aVal?.split('/')[2], aVal?.split('/')[3]]
|
|
@@ -1227,7 +1227,7 @@ export const tableMethods = {
|
|
|
1227
1227
|
that.cancel = c
|
|
1228
1228
|
})
|
|
1229
1229
|
})).data
|
|
1230
|
-
|
|
1230
|
+
this.data.list.sort(this.handleListSort)
|
|
1231
1231
|
this.listPage = this.currentPage
|
|
1232
1232
|
},
|
|
1233
1233
|
handleSearchInput ({ col_key, value, op }) {
|