eoss-ui 0.5.16 → 0.5.18
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 +1 -5
- package/lib/button.js +1 -5
- package/lib/checkbox-group.js +1 -5
- package/lib/data-table-form.js +1 -5
- package/lib/data-table.js +42 -44
- package/lib/date-picker.js +1 -5
- package/lib/dialog.js +1 -5
- package/lib/eoss-ui.common.js +51 -54
- package/lib/flow-group.js +4 -9
- package/lib/flow-list.js +1 -5
- package/lib/flow.js +1 -5
- package/lib/form.js +1 -5
- package/lib/handle-user.js +1 -5
- package/lib/handler.js +1 -5
- package/lib/index.js +1 -1
- package/lib/input-number.js +1 -5
- package/lib/input.js +1 -5
- package/lib/login.js +1 -5
- package/lib/main.js +1 -5
- package/lib/nav.js +1 -5
- package/lib/page.js +1 -5
- package/lib/player.js +1 -5
- package/lib/qr-code.js +1 -5
- package/lib/radio-group.js +1 -5
- package/lib/retrial-auth.js +1 -5
- package/lib/select-ganged.js +1 -5
- package/lib/select.js +1 -5
- package/lib/selector-panel.js +1 -5
- package/lib/selector.js +1 -5
- package/lib/sizer.js +1 -5
- package/lib/steps.js +1 -5
- package/lib/switch.js +1 -5
- package/lib/table-form.js +1 -5
- package/lib/tabs.js +1 -5
- package/lib/tips.js +1 -5
- package/lib/tree-group.js +1 -5
- package/lib/tree.js +1 -5
- package/lib/upload.js +1 -5
- package/lib/utils/util.js +1 -5
- package/lib/wujie.js +1 -5
- package/lib/wxlogin.js +1 -5
- package/package.json +2 -2
- package/packages/data-table/src/column.vue +15 -14
- package/packages/flow-group/src/main.vue +1 -2
- package/packages/theme-chalk/src/base.scss +5 -0
- package/src/index.js +1 -1
- package/src/utils/util.js +1 -5
- package/CHANGELOG.md +0 -929
package/lib/input-number.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/input.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/login.js
CHANGED
|
@@ -1965,11 +1965,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1965
1965
|
// const logined = getStorage('logined');
|
|
1966
1966
|
// eslint-disable-next-line eqeqeq
|
|
1967
1967
|
if (token || cookie == true || cookie == 1) {
|
|
1968
|
-
|
|
1969
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1970
|
-
} else {
|
|
1971
|
-
next && next();
|
|
1972
|
-
}
|
|
1968
|
+
next && next();
|
|
1973
1969
|
} else {
|
|
1974
1970
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1975
1971
|
ajax({
|
package/lib/main.js
CHANGED
|
@@ -1965,11 +1965,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1965
1965
|
// const logined = getStorage('logined');
|
|
1966
1966
|
// eslint-disable-next-line eqeqeq
|
|
1967
1967
|
if (token || cookie == true || cookie == 1) {
|
|
1968
|
-
|
|
1969
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1970
|
-
} else {
|
|
1971
|
-
next && next();
|
|
1972
|
-
}
|
|
1968
|
+
next && next();
|
|
1973
1969
|
} else {
|
|
1974
1970
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1975
1971
|
ajax({
|
package/lib/nav.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/page.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/player.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/qr-code.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/radio-group.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/retrial-auth.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/select-ganged.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/select.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/selector-panel.js
CHANGED
|
@@ -1965,11 +1965,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1965
1965
|
// const logined = getStorage('logined');
|
|
1966
1966
|
// eslint-disable-next-line eqeqeq
|
|
1967
1967
|
if (token || cookie == true || cookie == 1) {
|
|
1968
|
-
|
|
1969
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1970
|
-
} else {
|
|
1971
|
-
next && next();
|
|
1972
|
-
}
|
|
1968
|
+
next && next();
|
|
1973
1969
|
} else {
|
|
1974
1970
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1975
1971
|
ajax({
|
package/lib/selector.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/sizer.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/steps.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/switch.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/table-form.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/tabs.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/tips.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/tree-group.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/tree.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/upload.js
CHANGED
|
@@ -1965,11 +1965,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1965
1965
|
// const logined = getStorage('logined');
|
|
1966
1966
|
// eslint-disable-next-line eqeqeq
|
|
1967
1967
|
if (token || cookie == true || cookie == 1) {
|
|
1968
|
-
|
|
1969
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1970
|
-
} else {
|
|
1971
|
-
next && next();
|
|
1972
|
-
}
|
|
1968
|
+
next && next();
|
|
1973
1969
|
} else {
|
|
1974
1970
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1975
1971
|
ajax({
|
package/lib/utils/util.js
CHANGED
|
@@ -1883,11 +1883,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1883
1883
|
// const logined = getStorage('logined');
|
|
1884
1884
|
// eslint-disable-next-line eqeqeq
|
|
1885
1885
|
if (token || cookie == true || cookie == 1) {
|
|
1886
|
-
|
|
1887
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1888
|
-
} else {
|
|
1889
|
-
next && next();
|
|
1890
|
-
}
|
|
1886
|
+
next && next();
|
|
1891
1887
|
} else {
|
|
1892
1888
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1893
1889
|
ajax({
|
package/lib/wujie.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/lib/wxlogin.js
CHANGED
|
@@ -1966,11 +1966,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1966
1966
|
// const logined = getStorage('logined');
|
|
1967
1967
|
// eslint-disable-next-line eqeqeq
|
|
1968
1968
|
if (token || cookie == true || cookie == 1) {
|
|
1969
|
-
|
|
1970
|
-
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
1971
|
-
} else {
|
|
1972
|
-
next && next();
|
|
1973
|
-
}
|
|
1969
|
+
next && next();
|
|
1974
1970
|
} else {
|
|
1975
1971
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
1976
1972
|
ajax({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eoss-ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.18",
|
|
4
4
|
"description": "eoss内部业务组件",
|
|
5
5
|
"main": "lib/eoss-ui.common.js",
|
|
6
6
|
"files": [
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"cp-cli": "^1.0.2",
|
|
97
97
|
"cross-env": "^3.1.3",
|
|
98
98
|
"css-loader": "^2.1.0",
|
|
99
|
-
"eoss-element": "^0.2.
|
|
99
|
+
"eoss-element": "^0.2.76",
|
|
100
100
|
"es6-promise": "^4.0.5",
|
|
101
101
|
"eslint": "4.18.2",
|
|
102
102
|
"eslint-config-elemefe": "0.1.1",
|
|
@@ -372,20 +372,6 @@
|
|
|
372
372
|
</template>
|
|
373
373
|
</el-form-item>
|
|
374
374
|
</template>
|
|
375
|
-
<es-button-group
|
|
376
|
-
v-else-if="type === 'handle' && !scope.row.hideHandle"
|
|
377
|
-
v-bind="
|
|
378
|
-
exclAttribute({
|
|
379
|
-
data: config,
|
|
380
|
-
attrs: ['contents', 'events', 'type', 'width', 'template', 'title']
|
|
381
|
-
})
|
|
382
|
-
"
|
|
383
|
-
stop
|
|
384
|
-
:contents="contents || events"
|
|
385
|
-
:data="scope.row"
|
|
386
|
-
@handleClick="handleClick"
|
|
387
|
-
v-model="btnWidth"
|
|
388
|
-
></es-button-group>
|
|
389
375
|
<expand-dom
|
|
390
376
|
v-else-if="render"
|
|
391
377
|
:column="config"
|
|
@@ -400,6 +386,20 @@
|
|
|
400
386
|
<span v-else :style="styles ? styles[scope.row[prop]] : {}">{{
|
|
401
387
|
format(scope.row)
|
|
402
388
|
}}</span>
|
|
389
|
+
<es-button-group
|
|
390
|
+
v-if="type === 'handle' && !scope.row.hideHandle"
|
|
391
|
+
v-bind="
|
|
392
|
+
exclAttribute({
|
|
393
|
+
data: config,
|
|
394
|
+
attrs: ['contents', 'events', 'type', 'width', 'template', 'title']
|
|
395
|
+
})
|
|
396
|
+
"
|
|
397
|
+
stop
|
|
398
|
+
:contents="contents || events"
|
|
399
|
+
:data="scope.row"
|
|
400
|
+
@handleClick="handleClick"
|
|
401
|
+
v-model="btnWidth"
|
|
402
|
+
></es-button-group>
|
|
403
403
|
</template>
|
|
404
404
|
</el-table-column>
|
|
405
405
|
</template>
|
|
@@ -541,6 +541,7 @@ export default {
|
|
|
541
541
|
this.labelClassName ? this.labelClassName : '',
|
|
542
542
|
this.required ? 'es-required' : ''
|
|
543
543
|
].join(' '),
|
|
544
|
+
showOverflowTooltip: this.showOverflowTooltip,
|
|
544
545
|
prop: this.field || this.prop,
|
|
545
546
|
field: this.field,
|
|
546
547
|
...this.$attrs
|
|
@@ -604,8 +604,7 @@ export default {
|
|
|
604
604
|
handleSuccess() {
|
|
605
605
|
if (this.closeDialog && this.esDialog) {
|
|
606
606
|
this.esDialog.handleClose();
|
|
607
|
-
}
|
|
608
|
-
if (util.win.top.opener) {
|
|
607
|
+
}else if (util.win.top.opener) {
|
|
609
608
|
util.win.top.close();
|
|
610
609
|
}
|
|
611
610
|
if (this.events && this.events.success) {
|
|
@@ -54,6 +54,11 @@ $end: -51;
|
|
|
54
54
|
text-overflow: ellipsis;
|
|
55
55
|
white-space: nowrap;
|
|
56
56
|
overflow: hidden;
|
|
57
|
+
// .cell, span{
|
|
58
|
+
// text-overflow: ellipsis;
|
|
59
|
+
// white-space: nowrap;
|
|
60
|
+
// overflow: hidden;
|
|
61
|
+
// }
|
|
57
62
|
}
|
|
58
63
|
@for $i from 2 through 6 {
|
|
59
64
|
.es-text-ellipsis-row#{$i} {
|
package/src/index.js
CHANGED
package/src/utils/util.js
CHANGED
|
@@ -1901,11 +1901,7 @@ const isLogined = function ({
|
|
|
1901
1901
|
// const logined = getStorage('logined');
|
|
1902
1902
|
// eslint-disable-next-line eqeqeq
|
|
1903
1903
|
if (token || cookie == true || cookie == 1) {
|
|
1904
|
-
|
|
1905
|
-
window.location.replace(urlJoinParams({ url: `.${to.path}.html`, param: to.query }));
|
|
1906
|
-
} else {
|
|
1907
|
-
next && next();
|
|
1908
|
-
}
|
|
1904
|
+
next && next();
|
|
1909
1905
|
} else {
|
|
1910
1906
|
if (
|
|
1911
1907
|
!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') &&
|