Explorar el Código

时间选择bug

luolei hace 5 años
padre
commit
3a80b7abae
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/common/Picker.vue

+ 2 - 1
src/common/Picker.vue

@@ -44,7 +44,7 @@
           },
         ],
         showTip:false,
-        columIndx:[],
+        columIndx:[10,11,6],
         time:100
       }
     },
@@ -85,6 +85,7 @@
         }
       },
       resetIndex(){//清除时复原默认index
+        this.columIndx=[10,11,6]
         this.columns[0].defaultIndex = 10;
         this.columns[1].defaultIndex = 11;
         this.columns[2].defaultIndex = 6;