feat: 新增个人页面跳转功能

This commit is contained in:
陈淳
2024-01-17 16:31:01 +08:00
parent 0d5c196f39
commit 98a4a2158a
17 changed files with 139 additions and 43 deletions

View File

@@ -117,7 +117,7 @@ const enterIndex = () => {
router.push("/index");
};
const enterProfile = () => {
router.push("/profile");
router.push(`/profile/${userStore.userName}`);
};
const toLogin = () => {
clearStorage();