wangguoyu 2 weken geleden
bovenliggende
commit
3cad9dde84
1 gewijzigde bestanden met toevoegingen van 4 en 2 verwijderingen
  1. 4 2
      pages/study/index.vue

+ 4 - 2
pages/study/index.vue

@@ -728,7 +728,8 @@
 	function listClick(data, data2, index) {
 		//console.log('data', data); // 节内容
 		//	console.log('data2', data2); //章内容
-		if(cacheManager.get("youkeTishen").toString() =='true'){
+			const authCode = getUserIdentity();
+		if(cacheManager.get("youkeTishen").toString() =='true' &&authCode =='Visitor'){
 				chooseMethodListClickForTishen(data, data2, index)
 		}else{
 				chooseMethodListClick(data, data2, index)
@@ -743,7 +744,8 @@
 
 		if (currentProduct.value == 2 && typeId.value == 1) {
 			goDanciList(data, index)
-		} else {
+		} else {
+			debugger
 			if (data.type == 2) {
 				// 最后一项
 				goKaoshi(data, index)