eoss-ui 0.5.16 → 0.5.17

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.
@@ -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
- if (to.path === '/main' || to.path === '/login') {
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/button.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
- if (to.path === '/main' || to.path === '/login') {
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({
@@ -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
- if (to.path === '/main' || to.path === '/login') {
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({
@@ -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
- if (to.path === '/main' || to.path === '/login') {
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/data-table.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
- if (to.path === '/main' || to.path === '/login') {
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({
@@ -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
- if (to.path === '/main' || to.path === '/login') {
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/dialog.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
- if (to.path === '/main' || to.path === '/login') {
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({
@@ -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
- if (to.path === '/main' || to.path === '/login') {
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({
@@ -70592,7 +70588,7 @@ if (typeof window !== 'undefined' && window.Vue) {
70592
70588
  }
70593
70589
 
70594
70590
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
70595
- version: '0.5.16',
70591
+ version: '0.5.17',
70596
70592
  install: install,
70597
70593
  Button: packages_button,
70598
70594
  ButtonGroup: button_group,
package/lib/flow-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
- if (to.path === '/main' || to.path === '/login') {
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/flow-list.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
- if (to.path === '/main' || to.path === '/login') {
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/flow.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
- if (to.path === '/main' || to.path === '/login') {
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/form.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
- if (to.path === '/main' || to.path === '/login') {
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({
@@ -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
- if (to.path === '/main' || to.path === '/login') {
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/handler.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
- if (to.path === '/main' || to.path === '/login') {
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({