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