同步6/16

This commit is contained in:
Zy
2026-06-16 15:35:52 +08:00
parent 50e7b14fd6
commit ea8129216b
6 changed files with 10 additions and 16 deletions

View File

@@ -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 });
}