feat: 1. 完成账号相关功能 2.完成首页UI

This commit is contained in:
范鹏 2024-11-19 15:17:48 +08:00
parent 806ec1b777
commit d4d7f9e89f

View File

@ -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