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.
- package/lib/button-group.js +6 -2
- package/lib/button.js +6 -2
- package/lib/checkbox-group.js +6 -2
- package/lib/data-table-form.js +6 -2
- package/lib/data-table.js +28 -16
- package/lib/date-picker.js +6 -2
- package/lib/dialog.js +6 -2
- package/lib/eoss-ui.common.js +342 -266
- package/lib/flow-group.js +6 -2
- package/lib/flow-list.js +6 -2
- package/lib/flow.js +6 -2
- package/lib/form.js +6 -2
- package/lib/handle-user.js +6 -2
- package/lib/handler.js +17 -9
- package/lib/icon.js +6 -2
- package/lib/icons.js +1 -1
- package/lib/index.js +1 -1
- package/lib/input-number.js +6 -2
- package/lib/input.js +6 -2
- package/lib/login.js +9 -5
- package/lib/main.js +284 -220
- package/lib/nav.js +6 -2
- package/lib/page.js +6 -2
- package/lib/pagination.js +6 -2
- package/lib/player.js +6 -2
- package/lib/qr-code.js +6 -2
- package/lib/radio-group.js +6 -2
- package/lib/retrial-auth.js +6 -2
- package/lib/select-ganged.js +6 -2
- package/lib/select.js +6 -2
- package/lib/selector-panel.js +6 -2
- package/lib/selector.js +6 -2
- package/lib/sizer.js +6 -2
- package/lib/steps.js +6 -2
- package/lib/switch.js +6 -2
- package/lib/table-form.js +6 -2
- package/lib/tabs.js +6 -2
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/icon.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/lib/theme-chalk/sizer.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/tips.js +6 -2
- package/lib/tree-group.js +6 -2
- package/lib/tree.js +6 -2
- package/lib/upload.js +6 -2
- package/lib/utils/util.js +6 -2
- package/lib/wujie.js +6 -2
- package/lib/wxlogin.js +6 -2
- package/package.json +1 -1
- package/packages/.DS_Store +0 -0
- package/packages/data-table/src/main.vue +18 -12
- package/packages/handler/.DS_Store +0 -0
- package/packages/handler/src/main.vue +11 -6
- package/packages/icons/src/icon.json +1 -1
- package/packages/login/.DS_Store +0 -0
- package/packages/login/src/main.vue +1 -1
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/index.vue +19 -3
- package/packages/main/src/default/settings.vue +2 -2
- package/packages/main/src/main.vue +25 -4
- package/packages/main/src/simplicity/handler.vue +32 -28
- package/packages/main/src/simplicity/index.vue +46 -39
- package/packages/theme-chalk/lib/base.css +1 -1
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/icon.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/menu.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/lib/sizer.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/src/icon.scss +8 -0
- package/packages/theme-chalk/src/mixins/util.scss +0 -0
- package/packages/theme-chalk/src/simplicity.scss +160 -0
- package/src/.DS_Store +0 -0
- package/src/index.js +1 -1
- 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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/radio-group.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
|
-
|
|
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/retrial-auth.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
|
-
|
|
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-ganged.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
|
-
|
|
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
|
-
|
|
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/selector-panel.js
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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');
|