Commit d6683988 authored by 徐来柯's avatar 徐来柯

fix bug

parent 532f47a0
......@@ -320,7 +320,13 @@ export default {
}).then((res)=>{
console.log('resadd==>',res)
if(res.data.code != 0){
this.typeV = '9'
if (res.data.code === -1) {
this.typeV = '5'
this.deleteShow = true
this.deletetext = res.data.msg
return
}
this.typeV = '9'
this.deletetext = res.data.msg
this.pathE = data
this.deleteShow = true
......@@ -343,7 +349,13 @@ export default {
}).then((res)=>{
console.log('resadd==>',res)
if(res.data.code != 0){
this.typeV = '9'
if (res.data.code === -1) {
this.typeV = '5'
this.deleteShow = true
this.deletetext = res.data.msg
return
}
this.typeV = '9'
this.deletetext = res.data.msg
this.pathE = data
this.deleteShow = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment