fix: bug
This commit is contained in:
+3
-3
@@ -65,7 +65,7 @@
|
||||
"navigationBarTitleText": "忘记密码",
|
||||
"navigationStyle": "custom"
|
||||
},
|
||||
"notNeedLogin": false
|
||||
"notNeedLogin": true
|
||||
},
|
||||
{
|
||||
"path": "pages/invest/index",
|
||||
@@ -91,7 +91,7 @@
|
||||
"navigationBarTitleText": "登录",
|
||||
"navigationStyle": "custom"
|
||||
},
|
||||
"notNeedLogin": false
|
||||
"notNeedLogin": true
|
||||
},
|
||||
{
|
||||
"path": "pages/my/index",
|
||||
@@ -108,7 +108,7 @@
|
||||
"navigationBarTitleText": "注册",
|
||||
"navigationStyle": "custom"
|
||||
},
|
||||
"notNeedLogin": false
|
||||
"notNeedLogin": true
|
||||
}
|
||||
],
|
||||
"subPackages": [
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
navigationBarTitleText: '忘记密码',
|
||||
navigationStyle: 'custom',
|
||||
},
|
||||
notNeedLogin: false,
|
||||
notNeedLogin: true,
|
||||
}
|
||||
</route>
|
||||
<template>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
navigationBarTitleText: '登录',
|
||||
navigationStyle: 'custom',
|
||||
},
|
||||
notNeedLogin: false,
|
||||
notNeedLogin: true,
|
||||
}
|
||||
</route>
|
||||
<template>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
navigationBarTitleText: '注册',
|
||||
navigationStyle: 'custom',
|
||||
},
|
||||
notNeedLogin: false,
|
||||
notNeedLogin: true,
|
||||
}
|
||||
</route>
|
||||
|
||||
@@ -84,7 +84,7 @@ onLoad(async (options) => {
|
||||
|
||||
<template>
|
||||
<view class="login-container relative">
|
||||
<NavBar />
|
||||
<NavBar title-color="#333" />
|
||||
<view class="pt-45">
|
||||
<view class="mx-15 px-15 shadow-[0_0_10px_rgba(10,68,245,0.1)] rounded-10">
|
||||
<view class="flex items-center py-15">
|
||||
|
||||
+1
-1
@@ -84,7 +84,7 @@ export const getAllPages = (key = 'notNeedLogin') => {
|
||||
...pages
|
||||
.filter((page) => {
|
||||
if (!key) return false
|
||||
return page[key] === false
|
||||
return page[key] !== false
|
||||
})
|
||||
.map((page) => ({
|
||||
...page,
|
||||
|
||||
Reference in New Issue
Block a user