Explorar o código

修改返回房间

tangning %!s(int64=3) %!d(string=hai) anos
pai
achega
3fd8ac61a4
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      socket.js

+ 1 - 2
socket.js

@@ -512,9 +512,8 @@ export default {
             complete: () => {
               setTimeout(() => {
                 this.socketStop();
-                wx.redirectTo({
+                wx.switchTab({
                   url: '/pages/index/index',
-
                 });
               }, 1000)