Explorar el Código

温度拨盘成文bug修改

zhouna hace 5 años
padre
commit
6fbcb1e904
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/common/Picker.vue

+ 2 - 2
src/common/Picker.vue

@@ -62,8 +62,8 @@ export default {
     methods: {
         changeTemp(picker, value, index) {
             this.selectIndex = index;
-            this.selectValue = typeof(value)==="string"?value:value.join("");
-            this.selectValuep = typeof(value)==="string"?this.columnsp[index]:value.join("");
+            this.selectValuep = typeof(value)==="string"?value:value.join("");
+            this.selectValue = typeof(value)==="string"?this.columns[index]:value.join("");
         },
         onConfirm() {
             let number = this.num;