Browse Source

上一步下一步

zengyicheng 4 năm trước cách đây
mục cha
commit
6d2c9e6e50
1 tập tin đã thay đổi với 2 bổ sung và 2 xóa
  1. 2 2
      src/components/pages/liveRoom.vue

+ 2 - 2
src/components/pages/liveRoom.vue

@@ -419,14 +419,14 @@
           <div
             class="nextStepOne"
             @click="nextTool"
-            v-if="isNext == true && toolsList[0].tools.length > 1"
+            v-if="howTools != 0 && toolsList[0].tools.length > 1"
           >
             上一步
           </div>
           <div
             class="nextStepOne"
             @click="nextTool"
-            v-if="isNext == false && toolsList[0].tools.length > 1"
+            v-if="howTools != toolsList[0].tools.length -1 && toolsList[0].tools.length > 1"
           >
             下一步
           </div>