Browse Source

add mini redirect

master
zhangtao 1 year ago
parent
commit
10ad7cdeb2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/views/home/index.vue

+ 1
- 1
src/views/home/index.vue View File

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

Loading…
Cancel
Save