修改组件中hooks和store的调用方式
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user