eoss-ui 0.5.39 → 0.5.41
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 +9 -1
- package/lib/button.js +9 -1
- package/lib/checkbox-group.js +9 -1
- package/lib/data-table-form.js +9 -1
- package/lib/data-table.js +22 -6
- package/lib/date-picker.js +9 -1
- package/lib/dialog.js +9 -1
- package/lib/eoss-ui.common.js +66 -37
- package/lib/flow-group.js +12 -6
- package/lib/flow-list.js +9 -1
- package/lib/flow.js +9 -1
- package/lib/form.js +9 -1
- package/lib/handle-user.js +9 -1
- package/lib/handler.js +14 -5
- package/lib/index.js +1 -1
- package/lib/input-number.js +9 -1
- package/lib/input.js +9 -1
- package/lib/login.js +9 -1
- package/lib/main.js +14 -3
- package/lib/nav.js +9 -1
- package/lib/page.js +9 -1
- package/lib/player.js +9 -1
- package/lib/qr-code.js +9 -1
- package/lib/radio-group.js +9 -1
- package/lib/retrial-auth.js +9 -1
- package/lib/select-ganged.js +9 -1
- package/lib/select.js +22 -3
- package/lib/selector-panel.js +9 -1
- package/lib/selector.js +9 -1
- package/lib/sizer.js +9 -1
- package/lib/steps.js +9 -1
- package/lib/switch.js +9 -1
- package/lib/table-form.js +9 -1
- package/lib/tabs.js +9 -1
- package/lib/theme-chalk/form.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/select.css +1 -0
- package/lib/tips.js +9 -1
- package/lib/tree-group.js +9 -1
- package/lib/tree.js +9 -1
- package/lib/upload.js +9 -1
- package/lib/utils/util.js +9 -1
- package/lib/wujie.js +9 -1
- package/lib/wxlogin.js +9 -1
- package/package.json +1 -1
- package/packages/data-table/src/main.vue +8 -0
- package/packages/flow-group/src/main.vue +1 -3
- package/packages/handler/src/main.vue +3 -2
- package/packages/main/src/main.vue +2 -0
- package/packages/select/src/main.vue +26 -6
- package/packages/theme-chalk/lib/form.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/select.css +1 -0
- package/packages/theme-chalk/src/form.scss +1 -1
- package/packages/theme-chalk/src/select.scss +8 -0
- package/src/index.js +1 -1
- package/src/utils/util.js +12 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.el-select-dropdown__item .es-tips{position:absolute;right:10px;top:50%;margin-top:-7px}
|
package/src/index.js
CHANGED
package/src/utils/util.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
/* eslint-disable indent */
|
|
9
9
|
const sm2 = require('sm-crypto').sm2;
|
|
10
|
-
import { authCenter, mainConfig } from '../config/api';
|
|
10
|
+
import { authCenter, mainConfig, logout } from '../config/api';
|
|
11
11
|
import axios from 'axios';
|
|
12
12
|
import qs from 'qs';
|
|
13
13
|
import JSONbig from 'json-bigint';
|
|
@@ -670,7 +670,6 @@ const delUrlParam = function ({ url, key }) {
|
|
|
670
670
|
key.forEach(item => {
|
|
671
671
|
if (param.hasOwnProperty(item)) {
|
|
672
672
|
let reg = `${item}=${param[item]}`;
|
|
673
|
-
console.log(reg);
|
|
674
673
|
if (src.indexOf(reg + '&') > -1) {
|
|
675
674
|
src = src.replace(reg + '&', '');
|
|
676
675
|
} else if (src.indexOf('&' + reg) > -1) {
|
|
@@ -1921,6 +1920,17 @@ const isLogined = function ({
|
|
|
1921
1920
|
if (cookie === undefined) {
|
|
1922
1921
|
cookie = getParams({ name: 'cookie' });
|
|
1923
1922
|
}
|
|
1923
|
+
let quit = getParams('quit') || getParams('logout');
|
|
1924
|
+
if (quit) {
|
|
1925
|
+
ajax({ method: 'post', url: logout })
|
|
1926
|
+
.then((res) => {
|
|
1927
|
+
if (res.rCode === 0) {
|
|
1928
|
+
removeStorage();
|
|
1929
|
+
}
|
|
1930
|
+
})
|
|
1931
|
+
.catch(() => {});
|
|
1932
|
+
return;
|
|
1933
|
+
}
|
|
1924
1934
|
let pathname = win.top.location.pathname;
|
|
1925
1935
|
if (loginPage) {
|
|
1926
1936
|
sessionStorage.setItem('loginPage', loginPage);
|