lm-safe-app/store/modules/home.js

18 lines
181 B
JavaScript
Raw Normal View History

2024-06-03 09:37:52 +08:00
export default {
state:{
"username":"foo",
"age":18
},
getters: {
},
mutations: {
addAge(state) {
state.age += 1
}
},
actions: {
}
}