@@ -17,6 +17,7 @@ class IO {
// 创建WebSocket
ws_create(callback) {
+ return;
try {
// 判断是否支持 WebSocket
if ('WebSocket' in window) {
@@ -12,6 +12,8 @@ export default class wsService {
}
open() {
+
+ return new Promise((resolve, reject) => {});
return new Promise((resolve, reject) => {
console.warn(this.address);
if (typeof this._websocket === "undefined") {
@@ -868,6 +868,7 @@
}),
},
created() {
// uwbMain("player", window.innerWidth, window.innerHeight, "panorama");
ws.open().then((res) => {
// console.log("res", res);
@@ -926,6 +927,7 @@
});
async mounted() {
that = this;
//this.getBenchList();
console.log(this.benchList, "benchList");