|
|
@@ -26,6 +26,7 @@
|
|
|
if (cacheManager.get('xuexi-shuxue')) {
|
|
|
cacheManager.remove("xuexi-shuxue")
|
|
|
}
|
|
|
+ // 预防丢失
|
|
|
cacheManager.updateObject("auth",{
|
|
|
banbenId:res.data.banbenId,
|
|
|
chanpinId:res.data.chanpinId,
|
|
|
@@ -39,6 +40,7 @@
|
|
|
}
|
|
|
})
|
|
|
} else {
|
|
|
+
|
|
|
// 没学过
|
|
|
uni.switchTab({
|
|
|
url: `/pages/chanpinXuanze/index`,
|