Standardize store exports to named useXxxStore convention
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -243,8 +243,8 @@
|
||||
|
||||
<script>
|
||||
import { computed, ref, } from 'vue';
|
||||
import PageAdmin from '@/stores/pageAdmin';
|
||||
import MapPathStore from '@/stores/mapPathStore';
|
||||
import { usePageAdminStore } from '@/stores/pageAdmin';
|
||||
import { useMapPathStore } from '@/stores/mapPathStore';
|
||||
import { getTimeLabel } from '@/module/timeLabel.js';
|
||||
import getMoment from 'moment';
|
||||
import i18next from '@/i18n/i18n';
|
||||
@@ -268,8 +268,8 @@ export default {
|
||||
}
|
||||
},
|
||||
setup(props){
|
||||
const pageAdmin = PageAdmin();
|
||||
const mapPathStore = MapPathStore();
|
||||
const pageAdmin = usePageAdminStore();
|
||||
const mapPathStore = useMapPathStore();
|
||||
|
||||
const activeTrace = ref(0);
|
||||
const currentMapFile = computed(() => pageAdmin.currentMapFile);
|
||||
|
||||
Reference in New Issue
Block a user