wangfei 6 years ago
parent
commit
3e71ebfe81
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/views/vote/signup.vue

+ 2
- 2
src/views/vote/signup.vue View File

5
     </div>
5
     </div>
6
     <div class="ContextBox">
6
     <div class="ContextBox">
7
       <div class="uploadimg">
7
       <div class="uploadimg">
8
-        <img :src="theme===1?yttjlove:yjslove">
8
+        <img :src="theme===1?yttjlove:yjslove" @load="closetoast">
9
         <span class="desc">上传您认为最美的全家福照片</span>
9
         <span class="desc">上传您认为最美的全家福照片</span>
10
       </div>
10
       </div>
11
       <van-uploader :after-read="onRead">
11
       <van-uploader :after-read="onRead">
130
             .then(res => {
130
             .then(res => {
131
               that.uploadimg = res.result.url;
131
               that.uploadimg = res.result.url;
132
               that.postData.photo = res.result.url;
132
               that.postData.photo = res.result.url;
133
-              this.closetoast();
133
+              // this.closetoast();
134
             })
134
             })
135
             .catch(() => {
135
             .catch(() => {
136
               that.isLoading = false;
136
               that.isLoading = false;