标准化处理方法

This commit is contained in:
wzy-warehouse
2026-04-23 15:56:59 +08:00
parent 6fabf4a68d
commit 68e8c8746e
2 changed files with 10 additions and 12 deletions
+10 -1
View File
@@ -1,4 +1,4 @@
import { ref } from 'vue';
import { ref, watch } from 'vue';
import type { XianHiddenDangerSpots } from '@/types/base/XianHiddenDangerSpots';
import type { PaginationType } from '@/types/common/PaginationType';
import { PointType } from '@/types/common/DisasterType';
@@ -305,6 +305,15 @@ export const useRainDisasterChain = () => {
];
};
// 监听条件变化
watch(
conditions,
() => {
console.log('条件改变');
},
{ deep: true }
);
return {
conditions,
selectOptions,