同步6/16
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { getCommunitylistAPI, getVillageByIdAPI } from '@/api/system/community';
|
||||
import { getVillageByIdAPI } from '@/api/system/community';
|
||||
import { communitylist_rows_type } from '@/api/system/community/type';
|
||||
import { deleteHouseApi, getBuildinglistAPI, getHouselistAPI, getVillageTree } from '@/api/system/house';
|
||||
import type { addBuildingType, BuildingUnit, BuildingVo } from '@/api/system/house/type';
|
||||
import { getBuildinglistAPI, getHouselistAPI, getVillageTree } from '@/api/system/house';
|
||||
import type { BuildingUnit, BuildingVo } from '@/api/system/house/type';
|
||||
import { convertBuildingToTree } from '@/utils/house';
|
||||
import { defineStore } from 'pinia';
|
||||
// 数字排序
|
||||
@@ -13,7 +13,6 @@ function sortNumberStr(a: string, b: string) {
|
||||
if (!isNaN(numA) && !isNaN(numB)) {
|
||||
return numA - numB;
|
||||
}
|
||||
|
||||
// 否则按自然语言排
|
||||
return a.localeCompare(b, 'zh-CN', { numeric: true });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user