移除多余的前端页面 以及api

This commit is contained in:
jianzhichu
2025-12-08 12:45:30 +08:00
parent 772859eb63
commit 2550a1fde8
10 changed files with 12 additions and 201 deletions
+2 -11
View File
@@ -81,19 +81,10 @@ const user = reactive({
onMounted(() => {
useApiStore()
.apiCheckInitStatus()
.apiUserInfo()
.then((res) => {
if (res.code === 0) {
// useApiStore()
// .apiUserInfo()
// .then((res) => {
// if (res.code === 0 && res.code !== '') {
// if (res.data.avatar && res.data.avatar != null) {
// user.avatar = `/upload/${res.data.avatar}`;
// }
// user.name = res.data.userName;
// }
// });
user.name = res.data?.userName;
}
});
});