feat: 合并Gin_Vue
This commit is contained in:
@@ -132,18 +132,24 @@ const useUserStore = defineStore('user', {
|
||||
this.phonenumber = user.phone;
|
||||
this.email = user.email;
|
||||
this.sex = user.gender;
|
||||
// this.profile = JSON.parse(user.profile);
|
||||
// 额外信息
|
||||
try {
|
||||
this.profile = JSON.parse(user.profile);
|
||||
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
this.profile = {
|
||||
critical: '#FF5722',
|
||||
major: '#FFB800',
|
||||
minor: '#393D49',
|
||||
warning: '#009688',
|
||||
event: '#1E9FFF',
|
||||
color: {
|
||||
critical: '#e8994a',
|
||||
event: '#c5d2dc',
|
||||
major: '#494040',
|
||||
minor: '#5f70a8',
|
||||
sound: 'custom',
|
||||
warning: '#b9e1dd',
|
||||
},
|
||||
custom: 'hrxz.com-exz2s3uxhc47391.mp3',
|
||||
pwdErrCount: 0,
|
||||
pwdErrTime: 0,
|
||||
sound: 'custom',
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user