zizhong.wang преди 2 години
родител
ревизия
78d8284650
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  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({