Browse Source

no message

BF-202210271038\Administrator 2 years ago
parent
commit
6b5c7cfb16
2 changed files with 16 additions and 20 deletions
  1. 2 6
      manifest.json
  2. 14 14
      pages/login/model/loginContent.nvue

+ 2 - 6
manifest.json

@@ -20,8 +20,7 @@
         "modules" : {
             "Camera" : {},
             "Barcode" : {},
-            "VideoPlayer" : {},
-            "OAuth" : {}
+            "VideoPlayer" : {}
         },
         /* 应用发布信息 */
         "distribute" : {
@@ -62,10 +61,7 @@
                 "ad" : {},
                 "maps" : {},
                 "geolocation" : {},
-                "oauth" : {
-                    "univerify" : {},
-                    "apple" : {}
-                }
+                "oauth" : {}
             },
             "icons" : {
                 "android" : {

+ 14 - 14
pages/login/model/loginContent.nvue

@@ -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
 
   },