Parcourir la source

上一步下一步

zengyicheng il y a 3 ans
Parent
commit
6d2c9e6e50
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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>