Browse Source

切换题完成

wangxy 1 tháng trước cách đây
mục cha
commit
ab26efa4e5
2 tập tin đã thay đổi với 8 bổ sung8 xóa
  1. 7 7
      pages/newEnglish/index.vue
  2. 1 1
      pages/wordList/wordList.vue

+ 7 - 7
pages/newEnglish/index.vue

@@ -217,13 +217,13 @@
  function handleComplete() {
   // 返回岛
   if (userCode !== 'Visitor') {
-    let jieInfo = cacheManager.getUnitInfo('zhangInfo', data.jieId);
-    if (jieInfo.lastFlag == 1) {
-      // 更新岛状态
-      cacheManager.updateObject('zhangInfo', {
-        curZid: jieInfo.nextZid
-      })
-    }
+    // let jieInfo = cacheManager.getUnitInfo('zhangInfo', data.jieId);
+    // if (jieInfo.lastFlag == 1) {
+    //   // 更新岛状态
+    //   cacheManager.updateObject('zhangInfo', {
+    //     curZid: jieInfo.nextZid
+    //   })
+    // }
 
    uni.redirectTo({
     url: `/pages/study/index`

+ 1 - 1
pages/wordList/wordList.vue

@@ -11,7 +11,7 @@
 							<view :id="'item-' + item.jieId" class="title-item" v-for="(item,index) in listData.jieNumberList" 
 								:key="item.jieId" :class="{active: listData.activeIndex == index}" 
 								v-show="isTargetInSameGroup(listData.jieNumberList, listData.jieNumberList[listData.activeIndex],item.jieId)">  
-								Unit{{item.number}}</view>
+								{{item.number}}</view>
 			</view>
 			<view class="ezy-border-body">
 				<swiper class="word-list-swiper-box" :indicator-dots="false" :autoplay="false" :circular="false" :current="listData.activeIndex"