[Core] [Manager] Removes the default collation rule

This commit is contained in:
qianmoQ 2023-05-19 17:18:23 +08:00
parent 0a1710740a
commit 8dd963c54f

View File

@ -61,7 +61,19 @@ export default defineComponent({
headerName: header, headerName: header,
field: header, field: header,
sort: hasSort ? hasSort.sort : null, sort: hasSort ? hasSort.sort : null,
headerTooltip: header + ' [' + this.configure.types[index] + ']' headerTooltip: header + ' [' + this.configure.types[index] + ']',
noSort: true,
comparator: () => {
if (hasSort) {
if (hasSort.sort === 'asc') {
return 0;
}
else if (hasSort.sort === 'desc') {
return -1;
}
}
return 1;
}
}; };
this.columnDefs.push(columnDef) this.columnDefs.push(columnDef)
}); });