// 测试 正常跳转应该登录成功 // that.timer = setInterval(() => { that.$router.push('/mainChat');//路由跳转mainChat const remote = require('electron').remote; const BrowserWindow = remote.BrowserWindow; //改变窗口大小 BrowserWindow.mainWindow.setSize
(common.WINDOW_SIZE_MAINCIAT.width, common.WINDOW_SIZE_MAINCIAT.height); BrowserWindow.mainWindow.center();//窗口打开居中显示 // }, 8000); // clearInterval(that.timer);