规整代码,同时保留功能

This commit is contained in:
wzy-warehouse
2026-04-16 09:09:00 +08:00
parent 459940d425
commit b25cdc2aae
7 changed files with 93 additions and 87 deletions
+1 -3
View File
@@ -38,7 +38,6 @@
import LegendComponent from '@/component/rain-earthquake/LegendComponent.vue';
import RightButtonComponent from '@/component/rain-earthquake/RightButtonComponent.vue';
import { useEarthquakeDisasterChain } from '@/hooks/earthquake/useEarthquakeDisasterChain';
import { useEarthquakeLegend } from '@/hooks/earthquake/useEarthquakeLegend';
import { DisasterType } from '@/types/common/DisasterType.ts';
import { watch } from 'vue';
import { useRoute } from 'vue-router';
@@ -51,6 +50,7 @@
tableDatas,
tableColumns,
paginationConfig,
legendList,
leftButtonInfo,
rightButtonInfo,
controlPanel,
@@ -58,8 +58,6 @@
changeCurrentPage,
} = useEarthquakeDisasterChain();
const { legendList } = useEarthquakeLegend();
// 监听条件变化
watch(
conditions,