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