优化代码
This commit is contained in:
@@ -46,7 +46,7 @@ onMounted(() => {
|
||||
getPromiseStorage('user').then(res => {
|
||||
console.log(res);
|
||||
user.value = res;
|
||||
});
|
||||
}).catch((err) => {});
|
||||
});
|
||||
onUpdated(() => {
|
||||
// 组件更新后执行
|
||||
|
||||
Reference in New Issue
Block a user