Browse Source

蓝信验证

aaa 3 years ago
parent
commit
090773048a
4 changed files with 10 additions and 2 deletions
  1. 3 0
      .eslintrc.js
  2. 0 0
      public/app-jssdk.umd.min.js
  3. 0 2
      public/index.html
  4. 7 0
      src/views/home/index.vue

+ 3 - 0
.eslintrc.js

@@ -23,5 +23,8 @@ module.exports = {
   },
   parserOptions: {
     parser: "babel-eslint"
+  },
+  "globals":{
+    "lx": true
   }
 };

File diff suppressed because it is too large
+ 0 - 0
public/app-jssdk.umd.min.js


File diff suppressed because it is too large
+ 0 - 2
public/index.html


+ 7 - 0
src/views/home/index.vue

@@ -92,6 +92,7 @@ export default {
   },
   created() {
     this.initFun();
+    this.lanXinTest();
   },
   watch: {
     // 监听:首页切换tab的下标
@@ -202,6 +203,12 @@ export default {
         .catch(() => {
           this.$store.commit("toggleLoading", false);
         });
+    },
+    lanXinTest() {
+      console.log(JSON.stringify(lx));
+      lx.biz.getAuthCode({
+        appId: "String"
+      });
     }
   }
 };

Some files were not shown because too many files changed in this diff