@@ -65,8 +65,8 @@
import { useStatusStore } from '@/stores/useStatusStore';
import { computed } from 'vue';
- const useStatus = useStatusStore();
- const useLoadingInformation = useLoadingInformationStore();
+ const statusStore = useStatusStore();
+ const loadingInformationStore = useLoadingInformationStore();
const props = defineProps<{
constrolShowList: {
@@ -108,7 +108,7 @@
callback: (...args: unknown[]) => unknown
) => {
// 重置信息框状态,隐藏显示
- useLoadingInformation.resetStatue();
+ loadingInformationStore.resetStatue();
// 调用回调函数
callback(status);
diff --git a/src/component/rain-earthquake/ControlShowDetailComponent.vue b/src/component/rain-earthquake/ControlShowDetailComponent.vue
index b6e4d5b..30eabd6 100644
--- a/src/component/rain-earthquake/ControlShowDetailComponent.vue
+++ b/src/component/rain-earthquake/ControlShowDetailComponent.vue
@@ -2,109 +2,109 @@
@@ -126,7 +126,7 @@
import ReservoirComponent from '@/component/rain-earthquake/detail-panels/ReservoirComponent.vue';
import SubwayStationComponent from '@/component/rain-earthquake/detail-panels/SubwayStationComponent.vue';
- const useStatus = useStatusStore();
+ const statusStore = useStatusStore();
diff --git a/src/component/rain-earthquake/DisasterChainPointComponent.vue b/src/component/rain-earthquake/DisasterChainPointComponent.vue
index 37d265c..8b7b2bc 100644
--- a/src/component/rain-earthquake/DisasterChainPointComponent.vue
+++ b/src/component/rain-earthquake/DisasterChainPointComponent.vue
@@ -6,15 +6,15 @@
type="primary"
@click="changeStatus"
circle
- :title="`${useStatus.uiComponents.disasterChainPointShow.show ? '关闭' : '打开'}灾害链影响点列表`"
+ :title="`${statusStore.uiComponents.disasterChainPointShow.show ? '关闭' : '打开'}灾害链影响点列表`"
>{{
- useStatus.uiComponents.disasterChainPointShow.show ? '-' : '+'
+ statusStore.uiComponents.disasterChainPointShow.show ? '-' : '+'
}}