Browse Source

直播权限问题,修改

unknown 4 years ago
parent
commit
e75866f24f
3 changed files with 9 additions and 6 deletions
  1. 3 2
      pagesGood/videoList.vue
  2. 3 2
      pagesMain/orderDetail.vue
  3. 3 2
      pagesMain/orderItem.vue

+ 3 - 2
pagesGood/videoList.vue

@@ -133,9 +133,10 @@
 					}else{
 						wx.getSetting({
 						  success(res) {
-							if (!res.authSetting['scope.camera']){
+							/*if (!res.authSetting['scope.camera']){
 							  that.show_qx=false;
-							}else if (!res.authSetting['scope.record']){
+							}else*/ 
+							if (!res.authSetting['scope.record']){
 							  that.show_qx=false;
 							}else{
 								uni.navigateTo({

+ 3 - 2
pagesMain/orderDetail.vue

@@ -450,9 +450,10 @@
 							}else{
 								wx.getSetting({
 								  success(res) {
-									if (!res.authSetting['scope.camera']){
+									/*if (!res.authSetting['scope.camera']){
 									  that.show_qx=false;
-									}else if (!res.authSetting['scope.record']){
+									}else*/ 
+									if (!res.authSetting['scope.record']){
 									  that.show_qx=false;
 									}else{
 										uni.navigateTo({

+ 3 - 2
pagesMain/orderItem.vue

@@ -207,9 +207,10 @@
 					}else{
 						wx.getSetting({
 						  success(res) {
-							if (!res.authSetting['scope.camera']){
+							/*if (!res.authSetting['scope.camera']){
 							  that.show_qx=false;
-							}else if (!res.authSetting['scope.record']){
+							}else*/ 
+							 if (!res.authSetting['scope.record']){
 							  that.show_qx=false;
 							}else{
 								uni.navigateTo({