Initial commit

This commit is contained in:
2026-01-29 14:45:05 +08:00
commit cab00f6f3e
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)
}
}