snow 2 年之前
父節點
當前提交
fb9cc2f14e
共有 5 個文件被更改,包括 1 次插入3 次删除
  1. 0 0
      dist/index.html
  2. 二進制
      dist/static/js/app.2be86935.js.gz
  3. 0 0
      dist/static/js/app.3e09333e.js
  4. 二進制
      dist/static/js/app.3e09333e.js.gz
  5. 1 3
      src/pages/report.vue

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


二進制
dist/static/js/app.2be86935.js.gz


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.3e09333e.js


二進制
dist/static/js/app.3e09333e.js.gz


+ 1 - 3
src/pages/report.vue

@@ -87,7 +87,6 @@ export default {
     async initWechatSdk(){
     async initWechatSdk(){
       try{
       try{
         const result = await asyncRequest.signature({url: "http://depart.test241.wanyuhengtong.com/#/"})
         const result = await asyncRequest.signature({url: "http://depart.test241.wanyuhengtong.com/#/"})
-
         switch(Number(result.code)){
         switch(Number(result.code)){
           case 0:
           case 0:
             wx.config({
             wx.config({
@@ -103,8 +102,7 @@ export default {
                wx.checkJsApi({
                wx.checkJsApi({
                   jsApiList: ['login'],
                   jsApiList: ['login'],
                   success:function(res){
                   success:function(res){
-                    const code = res.code
-                    alert(code)
+                    console.log(res)
                   },
                   },
                   fail:function(res){
                   fail:function(res){
                     alert('line-109')
                     alert('line-109')

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