Browse Source

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

zhangxc 6 năm trước cách đây
mục cha
commit
354feb6f17
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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