wangguoyu vor 2 Monaten
Ursprung
Commit
3ca7b01cdb
1 geänderte Dateien mit 12 neuen und 1 gelöschten Zeilen
  1. 12 1
      pages/my/xuexiJilu.vue

+ 12 - 1
pages/my/xuexiJilu.vue

@@ -86,7 +86,7 @@
 		getWrongInfo
 	} from "@/api/wrong";
 	import CustomTabBar from '@/components/custom-tabbar/custom-tabbar.vue';
-
+	import cacheManager from "@/utils/cacheManager.js"
 	const zhangId = ref(null);
 	const nianji = ref(null);
 	const subjectId = ref(null);
@@ -126,6 +126,17 @@
 
 	function goDao(data) {
 		console.log('data', data);
+		
+		return
+		const auth = cacheManager.get('auth');
+		cacheManager.updateObject('auth', {
+			levelId: data.levelId,
+		})
+		cacheManager.remove('zhangInfo')
+		uni.redirectTo({
+			url: `/pages/study/index`
+		})
+		
 	}
 
 	function handleBack() {