Standardize store exports to named useXxxStore convention

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 13:25:00 +08:00
parent 147b16ca34
commit 90048d0505
69 changed files with 241 additions and 241 deletions
+3 -3
View File
@@ -70,7 +70,7 @@
</template>
<script>
import MapPathStore from '@/stores/mapPathStore';
import { useMapPathStore } from '@/stores/mapPathStore';
import { mapState, mapActions, } from 'pinia';
export default {
props: {
@@ -108,7 +108,7 @@ export default {
}
},
computed: {
...mapState(MapPathStore, ['isBPMNOn']),
...mapState(useMapPathStore, ['isBPMNOn']),
},
methods: {
/**
@@ -168,7 +168,7 @@ export default {
this.setIsBPMNOn(true);
this.switchMapType('bpmn');
},
...mapActions(MapPathStore, ['setIsBPMNOn',]),
...mapActions(useMapPathStore, ['setIsBPMNOn',]),
},
mounted() {
this.dataLayerType = 'freq';