feat(管理后台): 新增线路编辑器拖拽平移并修复代理下Socket连接问题
调整socket.io传输顺序优先使用轮询以适配代理服务器,新增可视化线路编辑器拖拽平移功能,修复多处CSS布局问题并更新静态资源缓存版本。
This commit is contained in:
+2
-1
@@ -24,7 +24,8 @@ createApp({
|
||||
});
|
||||
|
||||
const connected = ref(false);
|
||||
const socket = io({ transports: ['websocket'], upgrade: false, timeout: 20000 });
|
||||
// Keep the legacy route console usable behind proxies that only allow polling.
|
||||
const socket = io({ transports: ['polling', 'websocket'], timeout: 20000 });
|
||||
|
||||
|
||||
const stations = ref([]);
|
||||
|
||||
Reference in New Issue
Block a user