This commit is contained in:
2021-10-28 15:32:09 +08:00
commit 0a73304eea
475 changed files with 122605 additions and 0 deletions

15
src/store/modules/user.js Normal file
View File

@@ -0,0 +1,15 @@
export default {
namespaced: true,
state: {
id: 0,
name: ''
},
mutations: {
updateId (state, id) {
state.id = id
},
updateName (state, name) {
state.name = name
}
}
}