优化打印 订单新增桌号和时间筛选
This commit is contained in:
@@ -171,8 +171,8 @@ const updateInfo = _.throttle(function () {
|
||||
// let info = navigator.connection
|
||||
console.log(isOnLine);
|
||||
// console.log(info);
|
||||
if (store.userInfo && store.userInfo.shopId) {
|
||||
if (isOnLine) {
|
||||
if (store.userInfo && store.userInfo.shopId) {
|
||||
if (isOnLine) {
|
||||
console.log('有网了重新连接ws~');
|
||||
socket.init();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user