提交 12fe0c29 编写于 作者: study夏羽's avatar study夏羽

pages分包调整/兼容vue2/3一键登录隐私协议框是否打勾

上级 31b1cb91
......@@ -116,73 +116,73 @@
}]
},
{
"root": "uni_modules/uni-id-pages",
"root": "uni_modules/uni-id-pages/pages",
"pages": [{
"path": "pages/userinfo/userinfo",
"path": "userinfo/userinfo",
"style": {
"navigationBarTitleText": "个人资料"
}
},
{
"path": "pages/login/login-withoutpwd"
"path": "login/login-withoutpwd"
},
{
"path": "pages/login/login-withpwd"
"path": "login/login-withpwd"
},
{
"path": "pages/userinfo/deactivate/deactivate",
"path": "userinfo/deactivate/deactivate",
"style": {
"navigationBarTitleText": "注销账号"
}
},
{
"path": "pages/userinfo/bind-mobile/bind-mobile",
"path": "userinfo/bind-mobile/bind-mobile",
"style": {
"navigationBarTitleText": "绑定手机号码"
}
},
{
"path": "pages/login/login-smscode",
"path": "login/login-smscode",
"style": {
"navigationBarTitleText": "手机验证码登录"
}
},
{
"path": "pages/register/register",
"path": "register/register",
"style": {
"navigationBarTitleText": "注册"
}
},
{
"path": "pages/retrieve/retrieve",
"path": "retrieve/retrieve",
"style": {
"navigationBarTitleText": "重置密码"
}
}, {
"path": "pages/common/webview/webview",
"path": "common/webview/webview",
"style": {
"enablePullDownRefresh": false,
"navigationBarTitleText": ""
}
}, {
"path": "pages/userinfo/change_pwd/change_pwd",
"path": "userinfo/change_pwd/change_pwd",
"style": {
"enablePullDownRefresh": false,
"navigationBarTitleText": "修改密码"
}
}, {
"path": "pages/register/register-by-email",
"path": "register/register-by-email",
"style": {
"navigationBarTitleText": "邮箱验证码注册"
}
}, {
"path": "pages/retrieve/retrieve-by-email",
"path": "retrieve/retrieve-by-email",
"style": {
"navigationBarTitleText": "通过邮箱重置密码"
}
},
{
"path": "pages/userinfo/set-pwd/set-pwd",
"path": "userinfo/set-pwd/set-pwd",
"style": {
"enablePullDownRefresh": false,
"navigationBarTitleText": "设置密码"
......@@ -191,10 +191,10 @@
// #ifdef H5
,
{
"path": "pages/userinfo/cropImage/cropImage"
"path": "userinfo/cropImage/cropImage"
},
{
"path": "pages/register/register-admin",
"path": "register/register-admin",
"style": {
"enablePullDownRefresh": false,
"navigationBarTitleText": "注册管理员账号"
......
......@@ -330,8 +330,16 @@
let onButtonsClickFn = async res => {
console.log('点击了第三方登录,provider:', res, res.provider, this.univerifyStyle.buttons.list);
clickAnotherButtons = true
let checkBoxState = await uni.getCheckBoxState();
// 同步一键登录弹出层隐私协议框是否打勾
let agree = (await uni.getCheckBoxState())[1].state
// #ifdef VUE2
let agree = checkBoxState[1].state
// #endif
// #ifdef VUE3
let agree = checkBoxState.state
// #endif
this.agree = agree
let {
path
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册