|
@@ -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() {
|