Browse Source

温度拨盘成文bug修改

zhouna 5 years ago
parent
commit
6fbcb1e904
1 changed files with 2 additions and 2 deletions
  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;