fix(mjft):添加响应弹框
Showing
1 changed file
with
5 additions
and
0 deletions
| ... | @@ -90,6 +90,11 @@ | ... | @@ -90,6 +90,11 @@ |
| 90 | 90 | ||
| 91 | savemjft(this.mjftData).then(res => { | 91 | savemjft(this.mjftData).then(res => { |
| 92 | console.log(res) | 92 | console.log(res) |
| 93 | if (res.success){ | ||
| 94 | Message.success("保存成功") | ||
| 95 | }else { | ||
| 96 | Message.error(res.message) | ||
| 97 | } | ||
| 93 | }).catch(error => { | 98 | }).catch(error => { |
| 94 | console.log(error) | 99 | console.log(error) |
| 95 | }) | 100 | }) | ... | ... |
-
Please register or sign in to post a comment