This commit is contained in:
liuye
2022-06-14 17:19:45 +08:00
parent 8a8ba42d9b
commit 3b3d857334
2 changed files with 11 additions and 6 deletions

View File

@@ -105,9 +105,11 @@ export default {
if (res.code === 0) {
this.$u.toast('添加成功')
uni.$emit('getList')
uni.navigateBack({
delta: 1
})
setTimeout(() => {
uni.navigateBack({
delta: 1
})
}, 500)
}
}).catch(err => {
this.$u.toast('添加失败')

View File

@@ -194,9 +194,12 @@ export default {
this.blobToDataURI(this.blobFile).then(res => {
uni.$emit('record', res)
uni.navigateBack({
delta: 1
})
this.$u.toast(`录制音频成功`)
setTimeout(() => {
uni.navigateBack({
delta: 1
})
}, 500)
})
},