添加部分钩子函数,便于代码维护

This commit is contained in:
wzy-warehouse
2026-04-13 21:23:24 +08:00
parent 4d2d8787b1
commit b58e2d17d7
13 changed files with 267 additions and 200 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import { HiddenPointType } from '@/types/common/DisasterType';
import type { PaginationType } from '@/types/common/PaginationType';
// 灾害链影响点列表钩子函数
export function useRainDisasterChain() {
export const useRainDisasterChain = () => {
// 搜索条件
const conditions = ref({
tableData: '',
@@ -70,4 +70,4 @@ export function useRainDisasterChain() {
changeConditions,
changeCurrentPage,
};
}
};