浏览代码

调整可见范围

Lijy 2 年之前
父节点
当前提交
b72082e68d

+ 2 - 2
fhKeeper/formulahousekeeper/timesheet/src/views/Home.vue

@@ -675,7 +675,7 @@
                         timestamp: res.data.timestamp, // 必填,生成签名的时间戳 
                         nonceStr: res.data.noncestr, // 必填,生成签名的随机串 
                         signature: res.data.sign, // 必填,签名,见附录1 
-                        jsApiList: ['chooseImage','previewImage','uploadImage','downloadImage','previewFile','getLocation','agentConfig','openAppManage'] 
+                        jsApiList: ['chooseImage','previewImage','uploadImage','downloadImage','previewFile','getLocation','agentConfig'] 
                         });
                         var that = this;
                         wx.ready(function(){
@@ -689,7 +689,7 @@
                                             timestamp: res.data.timestamp, // 必填,生成签名的时间戳
                                             nonceStr: res.data.nonceStr, // 必填,生成签名的随机串
                                             signature: res.data.signature, // 必填,签名,见附录-JS-SDK使用权限签名算法
-                                            jsApiList: ['selectExternalContact', 'selectEnterpriseContact'], //必填,传入需要使用的接口名称
+                                            jsApiList: ['selectExternalContact', 'selectEnterpriseContact', 'openAppManage'], //必填,传入需要使用的接口名称
                                             success: function (result) {
                                                 console.log(result, '请求微信成功')
                                                 console.log(window, 'window')

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

@@ -3365,7 +3365,7 @@ export default {
     visibleRange() {
       console.log('我点击可见范围设置')
       wx.invoke('openAppManage', {}, function(res){
-        if(res.err_msg == "openAppManage:ok") {
+          if(res.err_msg == "openAppManage:ok") {
               // 调用成功              
           }
           if(res.err_msg == "openAppManage:fail:no permission") {