Explorar o código

repair with phone

zizhong.wang %!s(int64=2) %!d(string=hai) anos
pai
achega
78d8284650
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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({