Przeglądaj źródła

repair with phone

zizhong.wang 2 lat temu
rodzic
commit
78d8284650
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      pages/heatingPage/reportFix.vue

+ 3 - 1
pages/heatingPage/reportFix.vue

@@ -68,13 +68,15 @@ export default {
 	  pic_id : 0,
     };
   },
+  onShow() {
+    this.supplyInfo.phone = getApp().globalData.user_phone;
+  },
   methods: {
     submit() {
 	  if (this.imgIdList.length > 0){
 		  this.pic_id = this.imgIdList[0];
 	  }
       if (
-        this.supplyInfo.name === "" ||
         this.supplyInfo.phone === ""
       ) {
         uni.showToast({