Initial commit

This commit is contained in:
2026-03-31 20:21:04 +08:00
commit 262bf84e81
34 changed files with 5025 additions and 0 deletions

18
src/store/index.js Normal file
View File

@@ -0,0 +1,18 @@
import { reactive } from 'vue'
export default {
state: reactive({
userInfo: undefined
}),
mutations: {
setUserInfo(state, data) {
state.userInfo = data
}
},
commit(eventName, { data, dept }) {
data.dept.preCheck = dept.preCheck
this.mutations[eventName](this.state, data)
}
}