Bläddra i källkod

直播权限设置

zhaoxw 4 år sedan
förälder
incheckning
9bb2defc2a
3 ändrade filer med 9 tillägg och 42 borttagningar
  1. 3 14
      pagesMain/orderDetail.vue
  2. 3 14
      pagesMain/orderItem.vue
  3. 3 14
      pagesMain/paySuccess.vue

+ 3 - 14
pagesMain/orderDetail.vue

@@ -661,20 +661,9 @@
 						url: '/pagesGood/pickVideo?orderId=' + that.orderData.orderId + '&tenantCode=' + that.orderData.tenantCode
 					});
 				} else {
-					wx.getSetting({
-						success(res) {
-							/*if (!res.authSetting['scope.camera']){
-							  that.show_qx=false;
-							}else*/
-							if (!res.authSetting['scope.record']) {
-								that.show_qx = false;
-							} else {
-								uni.navigateTo({
-									url: '/pagesGood/pickVideo?orderId=' + that.orderData.orderId + '&tenantCode=' + that.orderData.tenantCode
-								});
-							}
-						}
-					})
+					uni.navigateTo({
+						url: '/pagesGood/pickVideo?orderId=' + that.orderData.orderId + '&tenantCode=' + that.orderData.tenantCode
+					});
 				}
 			},
 			//  跳转留言列表

+ 3 - 14
pagesMain/orderItem.vue

@@ -206,20 +206,9 @@
 							url: '/pagesGood/pickVideo?orderId=' + that.orderData.orderId + '&tenantCode=' + that.orderData.tenantCode
 						});
 					} else {
-						wx.getSetting({
-							success(res) {
-								/*if (!res.authSetting['scope.camera']){
-								  that.show_qx=false;
-								}else*/
-								if (!res.authSetting['scope.record']) {
-									that.show_qx = false;
-								} else {
-									uni.navigateTo({
-										url: '/pagesGood/pickVideo?orderId=' + that.orderData.orderId + '&tenantCode=' + that.orderData.tenantCode
-									});
-								}
-							}
-						})
+						uni.navigateTo({
+							url: '/pagesGood/pickVideo?orderId=' + that.orderData.orderId + '&tenantCode=' + that.orderData.tenantCode
+						});
 					}
 
 					return false;

+ 3 - 14
pagesMain/paySuccess.vue

@@ -79,20 +79,9 @@
 						url: '/pagesGood/pickVideo?orderId=' + that.orderId + '&tenantCode=' + that.tenantCode
 					});
 				}else{
-					wx.getSetting({
-					  success(res) {
-						/*if (!res.authSetting['scope.camera']){
-						  that.show_qx=false;
-						}else*/ 
-						if (!res.authSetting['scope.record']){
-						  that.show_qx=false;
-						}else{
-							uni.navigateTo({
-								url: '/pagesGood/pickVideo?orderId=' + that.orderId + '&tenantCode=' + that.tenantCode
-							});
-						}
-					  }
-					})
+					uni.navigateTo({
+						url: '/pagesGood/pickVideo?orderId=' + that.orderId + '&tenantCode=' + that.tenantCode
+					});
 				}
 			},
 			//  返回首页