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

View File

@@ -18,12 +18,12 @@
import IconUploarding from '../icons/IconUploarding.vue';
import { uploadFailedFirst } from '@/module/alertModal.js'
import { storeToRefs } from 'pinia';
import FilesStore from '@/stores/files.js';
import { useFilesStore } from '@/stores/files.js';
export default {
props: ['uploadModal'],
setup() {
const filesStore = FilesStore();
const filesStore = useFilesStore();
const { uploadFileName } = storeToRefs(filesStore);
return { filesStore, uploadFileName }