Browse Source

复制文件问题

xiaohaizhao 1 year ago
parent
commit
588fab5415

+ 2 - 0
pages/tabbar/smartStore/modules/viewPage.js

@@ -159,6 +159,8 @@ Component({
                         duration: 3000
                     });
                     that.closeShow();
+                },fail(err){
+                    console.log("复制文件报错",err)
                 }
             })
         },

+ 1 - 1
pages/teams/index.js

@@ -19,7 +19,7 @@ Page({
         }
     },
     onLoad(options) {
-        let auth = options.auth ? JSON.parse(options.auth) : getApp().globalData.queryPer.query(wx.getStorageSync('userauth'), ['通用'], ['个人中心'])[0].apps[0].meta.auth,
+        let auth = options.auth ? JSON.parse(options.auth) : getApp().globalData.queryPer.query(wx.getStorageSync('userauth'), ['通用'], ['个人中心'])[0].apps.find(v => v.name == 'teamManagement').meta.auth,
             tabList = [],
             authList = auth.map(v => {
                 if (v.option == 'account') {

+ 1 - 1
project.private.config.json

@@ -2,7 +2,7 @@
     "projectname": "MD_YOSwechat",
     "setting": {
         "compileHotReLoad": true,
-        "urlCheck": false
+        "urlCheck": true
     },
     "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
     "condition": {

+ 2 - 1
utils/Http.js

@@ -5,7 +5,8 @@ class HTTP {
         if (ENV === 'release') { // 正式版
             this.baseUrl = "https://meida.cnyunl.com";
         } else {
-            this.baseUrl = "http://192.168.3.111:8100";
+            // this.baseUrl = "http://61.164.207.46:8100";
+            this.baseUrl = "https://meida.cnyunl.com";
         }
         console.log("接口地址", this.baseUrl)
     }