@@ -313,7 +313,7 @@
subjectId: data.levelList[0].subjectId,
currentZhang: 0
})
- cacheManager.remove('daoPageCache')
+ cacheManager.remove('zhangInfo')
uni.redirectTo({
url: `/pages/study/index`
@@ -52,7 +52,7 @@
subjectId: data.subjectId,
@@ -151,7 +151,7 @@
// 通知岛重新调用接口
@@ -227,7 +227,7 @@
eggDialogRef.value.eggShow();
}
- if (!cacheManager.get('daoPageCache').isCache) {
+ if (!cacheManager.get('zhangInfo')) {
console.log('不实用换葱');
getZhangInfo()
} else {
@@ -278,9 +278,7 @@
- cacheManager.set('daoPageCache', {
- isCache: true
- })
+
nextTick(() => {
translateData(res.data)