This commit is contained in:
Cindy Chang committed 2024-08-08 16:37:03 +08:00
1 parent b46a6ab995
commit c37e46cff4
3 files changed
+12 -10

No files matched your search

+1
View File
@@ -60,6 +60,7 @@ export default defineStore('acctMgmtStore', {
*/
setCurrentViewingUser(username: string) {
const userFind: User | undefined = this.allUserAccoutList.find(user => user.username === username);
console.log('userFind', userFind);
this.currentViewingUser = userFind || { username: '', detail: {} };
},
/**