Bläddra i källkod

fix: 导览bug

xzw 2 år sedan
förälder
incheckning
1cc840dd3b
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      scene/public/static/js/main_2020_show.js

+ 2 - 2
scene/public/static/js/main_2020_show.js

@@ -4864,7 +4864,7 @@ window.Modernizr = function(n, e, t) {
                             ? (
                                 this.clearWalkingSectionPaused(),
                                 this.goToDestination()) 
-                            : this.goNext()
+                            : /* this.goNext() */ (this.tourAdvance(0) ,this.goToDestination())
                         )
                     )
             } 
@@ -5041,7 +5041,7 @@ window.Modernizr = function(n, e, t) {
                 if(null === this.currentItem || void 0 === this.currentItem){
                     this.setDestinationItem(this.firstDestination()) 
                 }else{ 
-                    var item    
+                    var item = this.currentItem
                     if(e == 1){
                         item = this.nextItem(this.currentItem)
                     }else if(e == -1){