ecinc-cloud-wappaio 9.6.346 → 9.6.347

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10194,10 +10194,7 @@ var actions = {
10194
10194
  commit('SET_ROUTES', accessedRoutes);
10195
10195
 
10196
10196
  // 登录成功后连接webSocket
10197
- var href = location.href.split('#')[1];
10198
- if (href.indexOf('/lm/') !== -1 || href.indexOf('/portal') !== -1 || href.indexOf('/0/') !== -1) {
10199
- _websocket_index__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.connectWebSocket(window.$wapp);
10200
- }
10197
+ _websocket_index__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.connectWebSocket(window.$wapp);
10201
10198
  resolve(accessedRoutes);
10202
10199
  }).catch(function (error) {
10203
10200
  reject(error);
@@ -10204,10 +10204,7 @@ var actions = {
10204
10204
  commit('SET_ROUTES', accessedRoutes);
10205
10205
 
10206
10206
  // 登录成功后连接webSocket
10207
- var href = location.href.split('#')[1];
10208
- if (href.indexOf('/lm/') !== -1 || href.indexOf('/portal') !== -1 || href.indexOf('/0/') !== -1) {
10209
- _websocket_index__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.connectWebSocket(window.$wapp);
10210
- }
10207
+ _websocket_index__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.connectWebSocket(window.$wapp);
10211
10208
  resolve(accessedRoutes);
10212
10209
  }).catch(function (error) {
10213
10210
  reject(error);