mirror of
https://github.com/continew-org/continew-admin.git
synced 2026-01-10 20:57:13 +08:00
新增:新增上传头像 API,采用本地存储方式存储头像
This commit is contained in:
@@ -75,7 +75,7 @@ const useLoginStore = defineStore('user', {
|
||||
},
|
||||
|
||||
// 获取用户信息
|
||||
async info() {
|
||||
async getInfo() {
|
||||
const res = await getUserInfo();
|
||||
this.setInfo(res.data);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user