feat: 添加活动页面入口
This commit is contained in:
@@ -55,7 +55,9 @@
|
|||||||
<el-dropdown-item @click="enterProfile"
|
<el-dropdown-item @click="enterProfile"
|
||||||
>进入个人中心</el-dropdown-item
|
>进入个人中心</el-dropdown-item
|
||||||
>
|
>
|
||||||
<el-dropdown-item @click="enterProfile">其他</el-dropdown-item>
|
<el-dropdown-item @click="enterActivity"
|
||||||
|
>进入活动页面</el-dropdown-item
|
||||||
|
>
|
||||||
<el-dropdown-item @click="logout">登出</el-dropdown-item>
|
<el-dropdown-item @click="logout">登出</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
<el-dropdown-menu v-else="isLogin">
|
<el-dropdown-menu v-else="isLogin">
|
||||||
@@ -119,6 +121,9 @@ const enterIndex = () => {
|
|||||||
const enterProfile = () => {
|
const enterProfile = () => {
|
||||||
router.push(`/profile/${userStore.userName}`);
|
router.push(`/profile/${userStore.userName}`);
|
||||||
};
|
};
|
||||||
|
const enterActivity=()=>{
|
||||||
|
router.push(`/activity`);
|
||||||
|
}
|
||||||
const toLogin = () => {
|
const toLogin = () => {
|
||||||
clearStorage();
|
clearStorage();
|
||||||
Session.set("currentPath", route.path);
|
Session.set("currentPath", route.path);
|
||||||
|
|||||||
Reference in New Issue
Block a user