修改组件中hooks和store的调用方式

This commit is contained in:
wzy-warehouse
2026-05-07 12:53:25 +08:00
parent 2ab1b7da7c
commit 68715dea2b
32 changed files with 350 additions and 261 deletions
@@ -1,7 +1,7 @@
<template>
<div
class="around-analysis-box"
v-show="useStatusStore().functionStatus.aroundAnalysis.show"
v-show="useStatus.functionStatus.aroundAnalysis.show"
>
<!-- 搜索组件 -->
<SearchComponent />
@@ -19,6 +19,8 @@
import AroundAnalysisDetailComponent from './around-analysis/AroundAnalysisDetailComponent.vue';
import ButtonComponent from './around-analysis/ButtonComponent.vue';
import SearchComponent from './around-analysis/SearchComponent.vue';
const useStatus = useStatusStore();
</script>
<style scoped></style>