oak-frontend-base/lib/utils/socket.io/socket.io.mp.js

10 lines
454 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Socket = void 0;
// 这里要处理小程序环境下的socketIO待定
// @ts-ignore
const weapp_socket_io_wx_1 = require("./weapp.socket.io.wx");
const socket_io_client_1 = require("socket.io-client");
Object.defineProperty(exports, "Socket", { enumerable: true, get: function () { return socket_io_client_1.Socket; } });
exports.default = weapp_socket_io_wx_1.io;