소스 검색

独立标签向下移,最后一个不做任何操作(2013)

zhangxc 6 년 전
부모
커밋
354feb6f17
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/icss/SingleSelect.vue

+ 1 - 1
src/components/icss/SingleSelect.vue

@@ -268,7 +268,7 @@
               this.focusOn = i-1
             }
           } else if(type == '2') {
-            if(this.focusOn == this.rows.length) {
+            if(this.focusOn == this.rows.length-1) {
               return
             } else {
                let i = this.focusOn