소스 검색

温度拨盘成文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;