|
@@ -188,7 +188,9 @@ export function useExam() {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- const cacheCurrentZhangIndex = cacheManager.get('auth').currentZhang;
|
|
|
+ const curZhangId = cacheManager.get('zhangInfo').curZhangId;
|
|
|
+ const resZhangList = cacheManager.get('zhangInfo').zhangList;
|
|
|
+ const cacheCurrentZhangIndex = resZhangList.findIndex(item => item.zhangId == curZhangId)
|
|
|
cacheManager.updateJieStatus('zhangInfo', cacheCurrentZhangIndex, data.jieId);
|
|
|
|
|
|
dom.showPopup({
|