This commit is contained in:
sexygoat
2026-01-22 17:25:30 +08:00
commit 6bf56a4b4c
35 changed files with 6297 additions and 0 deletions

15
store/index.js Normal file
View File

@@ -0,0 +1,15 @@
/**
* 简单的响应式状态管理
* 基于 Vue 3 reactive API
*/
import { reactive, ref } from 'vue';
import userStore from './modules/user.js';
// 创建全局状态
const globalStore = reactive({
user: userStore
});
export default globalStore;
export { userStore };