add mini redirect

This commit is contained in:
zhangtao 2022-10-22 14:53:07 +08:00
parent 83a9ed380e
commit 8bcb39045c
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ export default {
await data.client.leave() await data.client.leave()
status.isLeaving = false status.isLeaving = false
status.isJoined = false status.isJoined = false
wx.miniProgram.redirectTo({ url: 'pages/tool/tool' }) wx.miniProgram.redirectTo({ url: '/pages/tool/tool' })
} catch (error) { } catch (error) {
status.isLeaving = false status.isLeaving = false
console.error('leave room error', error) console.error('leave room error', error)