调整排序
This commit is contained in:
@@ -160,9 +160,9 @@ export default {
|
||||
};
|
||||
this.items.splice(this.items.length, 0, item);
|
||||
this.items = this.items.sort((a, b) => {
|
||||
if (a.minValue > b.minValue) {
|
||||
if (a.minValue < b.minValue) {
|
||||
return -1;
|
||||
} else if (a.minValue < b.minValue) {
|
||||
} else if (a.minValue > b.minValue) {
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user