浏览代码

温度拨盘成文bug修改

zhouna 5 年之前
父节点
当前提交
6fbcb1e904
共有 1 个文件被更改,包括 2 次插入2 次删除
  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;