标准化处理方法
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user