This commit is contained in:
shijingjing
2022-04-27 13:13:28 +08:00
parent d278e60f2c
commit c11cb3f7ae

View File

@@ -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)
} }
}) })
} }