|
|
|
@ -415,6 +415,8 @@ export default { |
|
|
|
let orderByFieldKey = order === 'descending' ? 'descs' : 'ascs'; |
|
|
|
let orderByFieldKey = order === 'descending' ? 'descs' : 'ascs'; |
|
|
|
this.query[orderByFieldKey] = !prop |
|
|
|
this.query[orderByFieldKey] = !prop |
|
|
|
? undefined |
|
|
|
? undefined |
|
|
|
|
|
|
|
: prop == 'itCn2' |
|
|
|
|
|
|
|
? 'IT_CN2' |
|
|
|
: prop.replace(/([a-z])([A-Z0-9])/g, '$1_$2').toUpperCase(); |
|
|
|
: prop.replace(/([a-z])([A-Z0-9])/g, '$1_$2').toUpperCase(); |
|
|
|
// // 重新加载数据 |
|
|
|
// // 重新加载数据 |
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
|