mkm
/
yanzhiAPP
Template
2
0
Fork 0
yanzhiAPP/store/userInfo.js

15 lines
219 B
JavaScript

import {
defineStore
} from 'pinia'
export const userInfoStore = defineStore('counter', {
state: () => ({
userInfo: {}
}),
getters: {},
actions: {
saveUserInfo(userInfo) {
this.userInfo = userInfo
}
}
})