Parcourir la source

温度拨盘成文bug修改

zhouna il y a 5 ans
Parent
commit
6fbcb1e904
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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;