浏览代码

提交待吗~

hotfix/210830_二组需求分支
王饶冀 3 年前
父节点
当前提交
8bd5a299da
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      components/tabbar/tabbar.js
  2. 1
    1
      pages/msgModule/index.js

+ 1
- 1
components/tabbar/tabbar.js 查看文件

@@ -97,7 +97,7 @@ Component({
initWebSocket() {
let _this = this;
let customerId = this.data.customerId;
let url = encodeURI(`ws://` + app.webSocketUrl + `/webSocket/{"userno":${customerId},"messageModule":"010"}`);
let url = encodeURI(app.webSocketUrl + `/webSocket/{"userno":${customerId},"messageModule":"010"}`);
//建立连接
wx.connectSocket({
url,//本地

+ 1
- 1
pages/msgModule/index.js 查看文件

@@ -50,7 +50,7 @@ Page({
initWebSocket: function () {
var _this = this;
let { customerId } = _this.data;
let url = encodeURI(`ws://` + app.webSocketUrl + `/webSocket/{"userno":${customerId},"messageModule":"010"}`);
let url = encodeURI(app.webSocketUrl + `/webSocket/{"userno":${customerId},"messageModule":"010"}`);
//建立连接
wx.connectSocket({
url,//本地

正在加载...
取消
保存