eoss-ui 0.5.96 → 0.5.98

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.
Files changed (88) hide show
  1. package/lib/button-group.js +6 -2
  2. package/lib/button.js +6 -2
  3. package/lib/checkbox-group.js +6 -2
  4. package/lib/data-table-form.js +6 -2
  5. package/lib/data-table.js +28 -16
  6. package/lib/date-picker.js +6 -2
  7. package/lib/dialog.js +6 -2
  8. package/lib/eoss-ui.common.js +342 -266
  9. package/lib/flow-group.js +6 -2
  10. package/lib/flow-list.js +6 -2
  11. package/lib/flow.js +6 -2
  12. package/lib/form.js +6 -2
  13. package/lib/handle-user.js +6 -2
  14. package/lib/handler.js +17 -9
  15. package/lib/icon.js +6 -2
  16. package/lib/icons.js +1 -1
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +6 -2
  19. package/lib/input.js +6 -2
  20. package/lib/login.js +9 -5
  21. package/lib/main.js +284 -220
  22. package/lib/nav.js +6 -2
  23. package/lib/page.js +6 -2
  24. package/lib/pagination.js +6 -2
  25. package/lib/player.js +6 -2
  26. package/lib/qr-code.js +6 -2
  27. package/lib/radio-group.js +6 -2
  28. package/lib/retrial-auth.js +6 -2
  29. package/lib/select-ganged.js +6 -2
  30. package/lib/select.js +6 -2
  31. package/lib/selector-panel.js +6 -2
  32. package/lib/selector.js +6 -2
  33. package/lib/sizer.js +6 -2
  34. package/lib/steps.js +6 -2
  35. package/lib/switch.js +6 -2
  36. package/lib/table-form.js +6 -2
  37. package/lib/tabs.js +6 -2
  38. package/lib/theme-chalk/base.css +1 -1
  39. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  40. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  41. package/lib/theme-chalk/icon.css +1 -1
  42. package/lib/theme-chalk/index.css +1 -1
  43. package/lib/theme-chalk/main.css +1 -1
  44. package/lib/theme-chalk/menu.css +1 -1
  45. package/lib/theme-chalk/simplicity.css +1 -1
  46. package/lib/theme-chalk/sizer.css +1 -1
  47. package/lib/theme-chalk/upload.css +1 -1
  48. package/lib/tips.js +6 -2
  49. package/lib/tree-group.js +6 -2
  50. package/lib/tree.js +6 -2
  51. package/lib/upload.js +6 -2
  52. package/lib/utils/util.js +6 -2
  53. package/lib/wujie.js +6 -2
  54. package/lib/wxlogin.js +6 -2
  55. package/package.json +1 -1
  56. package/packages/.DS_Store +0 -0
  57. package/packages/data-table/src/main.vue +18 -12
  58. package/packages/handler/.DS_Store +0 -0
  59. package/packages/handler/src/main.vue +11 -6
  60. package/packages/icons/src/icon.json +1 -1
  61. package/packages/login/.DS_Store +0 -0
  62. package/packages/login/src/main.vue +1 -1
  63. package/packages/main/.DS_Store +0 -0
  64. package/packages/main/src/.DS_Store +0 -0
  65. package/packages/main/src/default/index.vue +19 -3
  66. package/packages/main/src/default/settings.vue +2 -2
  67. package/packages/main/src/main.vue +25 -4
  68. package/packages/main/src/simplicity/handler.vue +32 -28
  69. package/packages/main/src/simplicity/index.vue +46 -39
  70. package/packages/theme-chalk/lib/base.css +1 -1
  71. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  72. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  73. package/packages/theme-chalk/lib/icon.css +1 -1
  74. package/packages/theme-chalk/lib/index.css +1 -1
  75. package/packages/theme-chalk/lib/main.css +1 -1
  76. package/packages/theme-chalk/lib/menu.css +1 -1
  77. package/packages/theme-chalk/lib/simplicity.css +1 -1
  78. package/packages/theme-chalk/lib/sizer.css +1 -1
  79. package/packages/theme-chalk/lib/upload.css +1 -1
  80. package/packages/theme-chalk/src/.DS_Store +0 -0
  81. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  82. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  83. package/packages/theme-chalk/src/icon.scss +8 -0
  84. package/packages/theme-chalk/src/mixins/util.scss +0 -0
  85. package/packages/theme-chalk/src/simplicity.scss +160 -0
  86. package/src/.DS_Store +0 -0
  87. package/src/index.js +1 -1
  88. package/src/utils/util.js +6 -2
package/lib/nav.js CHANGED
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
package/lib/page.js CHANGED
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
package/lib/pagination.js CHANGED
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
package/lib/player.js CHANGED
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
package/lib/qr-code.js CHANGED
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
package/lib/select.js CHANGED
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
2174
2174
  next && next();
2175
2175
  } else {
2176
2176
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2177
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2177
2178
  ajax({
2178
2179
  method: 'post',
2179
2180
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
2272
2273
  }
2273
2274
  });
2274
2275
  }
2275
- }).catch(function (e) {});
2276
+ loadingInstance.close();
2277
+ }).catch(function (e) {
2278
+ loadingInstance.close();
2279
+ });
2276
2280
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2277
2281
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2278
2282
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
2675
2679
  } else {
2676
2680
  n = 1;
2677
2681
  }
2678
- if (zoom === 1) {
2682
+ if (zoom === 1 && window.innerWidth === width) {
2679
2683
  document.body.style.removeProperty('transform');
2680
2684
  document.body.style.removeProperty('width');
2681
2685
  document.body.style.removeProperty('height');
package/lib/selector.js CHANGED
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
package/lib/sizer.js CHANGED
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
package/lib/steps.js CHANGED
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
package/lib/switch.js CHANGED
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
package/lib/table-form.js CHANGED
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');
package/lib/tabs.js CHANGED
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
2175
2175
  next && next();
2176
2176
  } else {
2177
2177
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
2178
+ var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2178
2179
  ajax({
2179
2180
  method: 'post',
2180
2181
  url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
2273
2274
  }
2274
2275
  });
2275
2276
  }
2276
- }).catch(function (e) {});
2277
+ loadingInstance.close();
2278
+ }).catch(function (e) {
2279
+ loadingInstance.close();
2280
+ });
2277
2281
  } else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2278
2282
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2279
2283
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
2676
2680
  } else {
2677
2681
  n = 1;
2678
2682
  }
2679
- if (zoom === 1) {
2683
+ if (zoom === 1 && window.innerWidth === width) {
2680
2684
  document.body.style.removeProperty('transform');
2681
2685
  document.body.style.removeProperty('width');
2682
2686
  document.body.style.removeProperty('height');