Explorar el Código

add mini redirect

master
zhangtao hace 1 año
padre
commit
10ad7cdeb2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/views/home/index.vue

+ 1
- 1
src/views/home/index.vue Ver fichero

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

Cargando…
Cancelar
Guardar