Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -241,10 +241,10 @@ Page({ | @@ -241,10 +241,10 @@ Page({ | ||
| 241 | console.log('upres',upres) | 241 | console.log('upres',upres) |
| 242 | if(upres.ret==200){ | 242 | if(upres.ret==200){ |
| 243 | util.toast('图片上传完成','none') | 243 | util.toast('图片上传完成','none') |
| 244 | - this.checkHasSubmit() | ||
| 245 | this.setData({ | 244 | this.setData({ |
| 246 | [`form.image`]:upres.data, | 245 | [`form.image`]:upres.data, |
| 247 | }) | 246 | }) |
| 247 | + this.checkHasSubmit() | ||
| 248 | }else{ | 248 | }else{ |
| 249 | util.toast(upres.msg||'上传出错','none') | 249 | util.toast(upres.msg||'上传出错','none') |
| 250 | } | 250 | } |
-
Please register or login to post a comment