|
|
@ -78,7 +78,7 @@ export default { |
|
|
//this.url是父组件传进来的 |
|
|
//this.url是父组件传进来的 |
|
|
serve.post(this.url, this.data) |
|
|
serve.post(this.url, this.data) |
|
|
.then((res) => { |
|
|
.then((res) => { |
|
|
if(res.code=='4001'){ |
|
|
if(res.code!='200'){//4001|1004 |
|
|
this.inSend = false |
|
|
this.inSend = false |
|
|
this.$toast(res.message); |
|
|
this.$toast(res.message); |
|
|
// 如果返回错误码 |
|
|
// 如果返回错误码 |
|
|
|