|
|
@@ -40,20 +40,20 @@ export default {
|
|
|
watch: {},
|
|
|
onLoad(query) {
|
|
|
//#ifdef APP-NVUE
|
|
|
- uni.preLogin({
|
|
|
- provider: 'univerify',
|
|
|
- success(){ //预登录成功
|
|
|
- // 显示一键登录选项
|
|
|
- this.isPreLogin=true
|
|
|
- },
|
|
|
- fail(res){ // 预登录失败
|
|
|
- // 不显示一键登录选项(或置灰)
|
|
|
- // 根据错误信息判断失败原因,如有需要可将错误提交给统计服务器
|
|
|
- console.log(res)
|
|
|
- console.log(res.errCode)
|
|
|
- console.log(res.errMsg)
|
|
|
- }
|
|
|
- })
|
|
|
+ // uni.preLogin({
|
|
|
+ // provider: 'univerify',
|
|
|
+ // success(){ //预登录成功
|
|
|
+ // // 显示一键登录选项
|
|
|
+ // this.isPreLogin=true
|
|
|
+ // },
|
|
|
+ // fail(res){ // 预登录失败
|
|
|
+ // // 不显示一键登录选项(或置灰)
|
|
|
+ // // 根据错误信息判断失败原因,如有需要可将错误提交给统计服务器
|
|
|
+ // console.log(res)
|
|
|
+ // console.log(res.errCode)
|
|
|
+ // console.log(res.errMsg)
|
|
|
+ // }
|
|
|
+ // })
|
|
|
//#endif
|
|
|
|
|
|
},
|