29342
This commit is contained in:
@@ -122,14 +122,14 @@ export default {
|
||||
id: this.id,
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code === 0) {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('提交成功')
|
||||
uni.$emit('reload')
|
||||
setTimeout(() =>{
|
||||
uni.navigateBack({
|
||||
delta: 2
|
||||
})
|
||||
})
|
||||
},600)
|
||||
}
|
||||
})
|
||||
} else if (this.form.pass == 0){ // 申请解除
|
||||
@@ -139,14 +139,14 @@ export default {
|
||||
id: this.id,
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code === 0) {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('提交成功')
|
||||
uni.$emit('reload')
|
||||
setTimeout(() =>{
|
||||
uni.navigateBack({
|
||||
delta: 2
|
||||
})
|
||||
})
|
||||
},600)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user