feat: 1. 完成账号相关功能 2.完成首页UI
This commit is contained in:
parent
806ec1b777
commit
d4d7f9e89f
@ -236,7 +236,7 @@ export const useStarCloudStore = defineStore('starCloud', {
|
||||
*/
|
||||
logout(params) {
|
||||
const { uid } = params
|
||||
if (this.accountInfo.uid === uid) {
|
||||
if (this.accountInfo?.uid === uid) {
|
||||
this.userInfo = null
|
||||
this.accountInfo = null
|
||||
this.lockInfo = null
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user