feat: 完善双端演示注册与红娘服务闭环
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
import { authStore, appStore } from '../../stores'
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
import { ROUTE } from '../../constants'
|
||||
import { IS_DEV } from '../../env'
|
||||
|
||||
interface LoginData {
|
||||
loggingIn: boolean
|
||||
@@ -19,6 +20,7 @@ Page({
|
||||
error: '',
|
||||
platformName: getApp().globalData.platformName,
|
||||
slogan: getApp().globalData.slogan,
|
||||
demoEnabled: IS_DEV,
|
||||
},
|
||||
|
||||
onLoad() {
|
||||
@@ -77,6 +79,10 @@ Page({
|
||||
wx.navigateTo({ url: ROUTE.OPERATOR.LOGIN })
|
||||
},
|
||||
|
||||
onDemoRegister() {
|
||||
wx.navigateTo({ url: ROUTE.AUTH.DEMO_REGISTER })
|
||||
},
|
||||
|
||||
onViewTerms() {
|
||||
wx.navigateTo({ url: '/pages/help-center/help-center?tab=terms' })
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user