This commit is contained in:
曹辉 2023-05-26 16:49:12 +08:00
parent 95a022fdda
commit 0de2af9205
2 changed files with 4 additions and 3 deletions

View File

@ -84,7 +84,7 @@
} }
this.timer = setTimeout(e => { this.timer = setTimeout(e => {
uni.navigateBack({ uni.navigateBack({
delta: 4 delta: 3
}) })
}, 1500) }, 1500)
} }

View File

@ -40,6 +40,7 @@
type: 'error', type: 'error',
}) })
} else if (res.code == 200) { } else if (res.code == 200) {
uni.setStorageSync("Refresh", 'Refresh')
this.$refs.uToast.show({ this.$refs.uToast.show({
title: '取消成功', title: '取消成功',
type: 'success' type: 'success'
@ -49,7 +50,7 @@
} }
this.timer = setTimeout(e => { this.timer = setTimeout(e => {
uni.navigateBack({ uni.navigateBack({
delta: 3 delta: 2
}) })
}, 1500) }, 1500)
} }