feature: modify profile
This commit is contained in:
@ -147,6 +147,14 @@
|
|||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/my/profile",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/notice/bill",
|
"path": "pages/notice/bill",
|
||||||
"type": "page",
|
"type": "page",
|
||||||
|
|||||||
@ -123,8 +123,8 @@ onUnload(() => {
|
|||||||
const My = {
|
const My = {
|
||||||
// 跳转到个人信息
|
// 跳转到个人信息
|
||||||
handleToProfile: () => {
|
handleToProfile: () => {
|
||||||
if (isLogin.value) {
|
if (!isLogin.value) {
|
||||||
router.navigateTo('/bundle/profile/profile')
|
router.navigateTo('/pages/my/profile')
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
router.navigateTo('/pages/login/login')
|
router.navigateTo('/pages/login/login')
|
||||||
|
|||||||
Reference in New Issue
Block a user