feat: 提交家校活动前端工程源码(Vue3 + Vite + view-ui-plus)
build / build (push) Successful in 5m24s

This commit is contained in:
lijing
2026-09-20 18:00:18 +08:00
parent 267ba04af2
commit 66ad7fc6c3
333 changed files with 33141 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
import { defineStore } from "pinia";
export const useDefaultStore = defineStore("defaultStore", {
state: () => ({
userRole: "teacher" as string,
}),
actions: {
setUserRole(role: string) {
this.userRole = role;
},
},
});