|
@@ -128,10 +128,12 @@
|
|
|
}
|
|
|
// 继续学习
|
|
|
async function goStudyContinue() {
|
|
|
+ const list = cacheManager.get('zhangInfo').zhangList;
|
|
|
// 设置 从单元测试 到 岛 的路由参数
|
|
|
activeZhang.value.nextZhang ? activeZhang.value.nextZhang.zhangId : null;
|
|
|
cacheManager.updateObject('auth', {
|
|
|
- zhangId: activeZhang.value.nextZhang.zhangId,
|
|
|
+ currentZhang: list.findIndex(item => item.zhangId == activeZhang.value.nextZhang.zhangId),
|
|
|
+ zhangId: activeZhang.value.nextZhang.zhangId
|
|
|
})
|
|
|
uni.redirectTo({
|
|
|
url: `/pages/study/index`
|