修改组件中store的调用方式
This commit is contained in:
@@ -31,8 +31,8 @@
|
||||
<!-- 左侧按钮组件 -->
|
||||
<LeftButtonComponent
|
||||
v-if="
|
||||
useStatusStore().appLoadingCompleted &&
|
||||
useStatusStore().uiComponents.leftButton.loading
|
||||
statusStore.appLoadingCompleted &&
|
||||
statusStore.uiComponents.leftButton.loading
|
||||
"
|
||||
:button-list="leftButtonInfo"
|
||||
/>
|
||||
@@ -40,8 +40,8 @@
|
||||
<!-- 右侧按钮组件 -->
|
||||
<RightButtonComponent
|
||||
v-if="
|
||||
useStatusStore().appLoadingCompleted &&
|
||||
useStatusStore().uiComponents.rightButton.loading
|
||||
statusStore.appLoadingCompleted &&
|
||||
statusStore.uiComponents.rightButton.loading
|
||||
"
|
||||
:button-list="rightButtonInfo"
|
||||
/>
|
||||
@@ -83,6 +83,8 @@
|
||||
changeCurrentPage,
|
||||
} = useEarthquakeDisasterChain();
|
||||
|
||||
const statusStore = useStatusStore();
|
||||
|
||||
// 监听条件变化
|
||||
watch(
|
||||
conditions,
|
||||
|
||||
Reference in New Issue
Block a user