eoss-ui 0.6.73 → 0.6.74

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/login.js CHANGED
@@ -4340,7 +4340,7 @@ var nightImg = 'data:image/jpeg;base64,/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
4340
4340
  // ESM COMPAT FLAG
4341
4341
  __webpack_require__.r(__webpack_exports__);
4342
4342
 
4343
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=7795d992&
4343
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=5a822b69&
4344
4344
  var render = function () {
4345
4345
  var _vm = this
4346
4346
  var _h = _vm.$createElement
@@ -5634,7 +5634,7 @@ var staticRenderFns = [
5634
5634
  render._withStripped = true
5635
5635
 
5636
5636
 
5637
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=7795d992&
5637
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=5a822b69&
5638
5638
 
5639
5639
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5640
5640
  var regenerator_ = __webpack_require__(4);
@@ -7186,10 +7186,6 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7186
7186
  downloadSetup: '',
7187
7187
  app: '',
7188
7188
  qrimg: '',
7189
- ios: '',
7190
- android: '',
7191
- pad: '',
7192
- ipad: '',
7193
7189
  interval: null,
7194
7190
  showResetPassword: false,
7195
7191
  operationCheckCode: '',
package/lib/main.js CHANGED
@@ -4419,8 +4419,8 @@ render._withStripped = true
4419
4419
  // EXTERNAL MODULE: ./src/config/image.js
4420
4420
  var config_image = __webpack_require__(20);
4421
4421
 
4422
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=a8c92006&scoped=true&
4423
- var simplicityvue_type_template_id_a8c92006_scoped_true_render = function () {
4422
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=7ecd2ea0&scoped=true&
4423
+ var simplicityvue_type_template_id_7ecd2ea0_scoped_true_render = function () {
4424
4424
  var _vm = this
4425
4425
  var _h = _vm.$createElement
4426
4426
  var _c = _vm._self._c || _h
@@ -5086,11 +5086,11 @@ var simplicityvue_type_template_id_a8c92006_scoped_true_render = function () {
5086
5086
  ),
5087
5087
  ])
5088
5088
  }
5089
- var simplicityvue_type_template_id_a8c92006_scoped_true_staticRenderFns = []
5090
- simplicityvue_type_template_id_a8c92006_scoped_true_render._withStripped = true
5089
+ var simplicityvue_type_template_id_7ecd2ea0_scoped_true_staticRenderFns = []
5090
+ simplicityvue_type_template_id_7ecd2ea0_scoped_true_render._withStripped = true
5091
5091
 
5092
5092
 
5093
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=a8c92006&scoped=true&
5093
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=7ecd2ea0&scoped=true&
5094
5094
 
5095
5095
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=e722b45c&scoped=true&
5096
5096
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -11497,7 +11497,7 @@ var events = [function (tabs, index, that) {
11497
11497
  store["a" /* default */].set('nav', this.menus);
11498
11498
  if (this.indexUrl) {
11499
11499
  var obj = this.getMenu(this.menus, this.indexUrl);
11500
- obj = obj ? obj : {
11500
+ obj = obj ? JSON.parse(JSON.stringify(obj)) : {
11501
11501
  url: this.indexUrl,
11502
11502
  text: '工作台',
11503
11503
  id: '0',
@@ -11519,6 +11519,7 @@ var events = [function (tabs, index, that) {
11519
11519
  if (app.url) {
11520
11520
  var _obj = this.getMenu(this.menus, app.url);
11521
11521
  if (_obj) {
11522
+ _obj = JSON.parse(JSON.stringify(_obj));
11522
11523
  var tab = this.setIframeType(_obj);
11523
11524
  this.tabs = [tab];
11524
11525
  this.activeName = tab.id;
@@ -11532,8 +11533,10 @@ var events = [function (tabs, index, that) {
11532
11533
  if (subMenus) {
11533
11534
  var _obj2 = this.getMenu(this.menus, this.appCode, 'appCode');
11534
11535
  if (_obj2) {
11535
- if (!_obj2.url) {
11536
- _obj2 = this.getFirst(_obj2);
11536
+ if (_obj2.url) {
11537
+ _obj2 = JSON.parse(JSON.stringify(_obj2));
11538
+ } else {
11539
+ _obj2 = JSON.parse(JSON.stringify(this.getFirst(_obj2)));
11537
11540
  }
11538
11541
  this.subActive = _obj2.id;
11539
11542
  var _tab = this.setIframeType(_obj2);
@@ -11554,6 +11557,7 @@ var events = [function (tabs, index, that) {
11554
11557
  if (this.tabs.length == 0) {
11555
11558
  var _obj3 = this.getFirst(_subMenus);
11556
11559
  if (_obj3) {
11560
+ _obj3 = JSON.parse(JSON.stringify(_obj3));
11557
11561
  this.subActive = _obj3.id;
11558
11562
  var _tab2 = this.setIframeType(_obj3);
11559
11563
  this.tabs = [_tab2];
@@ -11572,7 +11576,7 @@ var events = [function (tabs, index, that) {
11572
11576
  } else if (this.initApps && this.initApps.length && !this.indexUrl) {
11573
11577
  var _obj4 = this.getMenu(this.menus, this.initApps[this.initApps.length - 1]);
11574
11578
  if (_obj4) {
11575
- var _tab3 = this.setIframeType(_obj4);
11579
+ var _tab3 = this.setIframeType(JSON.parse(JSON.stringify(_obj4)));
11576
11580
  this.tabs.push(_tab3);
11577
11581
  this.activeName = _tab3.id;
11578
11582
  }
@@ -11651,7 +11655,7 @@ var events = [function (tabs, index, that) {
11651
11655
  if (item[key] === res) {
11652
11656
  return item;
11653
11657
  }
11654
- } else if (item.url === res || item.id === res || item.appCode && item.appCode === res) {
11658
+ } else if (item.url === res || item.id === res || item.appCode === res) {
11655
11659
  return item;
11656
11660
  }
11657
11661
  if (Object.prototype.hasOwnProperty.call(item, 'children') && item.children.length) {
@@ -11898,6 +11902,7 @@ var events = [function (tabs, index, that) {
11898
11902
  if (i == -1) {
11899
11903
  var obj = res.code ? this.getMenu(this.menus, res.code, 'appCode') : null;
11900
11904
  if (obj) {
11905
+ obj = JSON.parse(JSON.stringify(obj));
11901
11906
  var n = util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
11902
11907
  if (n == -1) {
11903
11908
  var tab = this.setIframeType(obj);
@@ -11933,6 +11938,7 @@ var events = [function (tabs, index, that) {
11933
11938
  this.showMenu = subMenus ? subMenus.children && subMenus.children.length > 0 || subMenus.fourthTabs && subMenus.fourthTabs.length > 0 : false;
11934
11939
  this.showApps = false;
11935
11940
  if (subMenus && subMenus.url) {
11941
+ subMenus = JSON.parse(JSON.stringify(subMenus));
11936
11942
  var _i = util["a" /* default */].indexOfObj(this.tabs, subMenus, 'id');
11937
11943
  this.activeName = subMenus.id;
11938
11944
  if (_i == -1) {
@@ -11940,7 +11946,7 @@ var events = [function (tabs, index, that) {
11940
11946
  this.tabs.push(_tab5);
11941
11947
  } else {
11942
11948
  if (subMenus.method == 'iframe') {
11943
- subMenus.url = util["a" /* default */].handlerUrl(subMenus.url);
11949
+ this.tabs[_i].url = util["a" /* default */].handlerUrl(subMenus.url);
11944
11950
  }
11945
11951
  }
11946
11952
  }
@@ -12405,6 +12411,7 @@ var events = [function (tabs, index, that) {
12405
12411
  }
12406
12412
  var obj = this.getMenu(this.menus, apps[apps.length - 1]);
12407
12413
  if (obj) {
12414
+ obj = JSON.parse(JSON.stringify(obj));
12408
12415
  var i = util["a" /* default */].indexOfObj(this.tabs, obj, 'id,code,appCode');
12409
12416
  var n = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
12410
12417
  var old = this.activeName;
@@ -12498,11 +12505,11 @@ var events = [function (tabs, index, that) {
12498
12505
 
12499
12506
  var simplicity_component = Object(componentNormalizer["a" /* default */])(
12500
12507
  src_simplicityvue_type_script_lang_js_,
12501
- simplicityvue_type_template_id_a8c92006_scoped_true_render,
12502
- simplicityvue_type_template_id_a8c92006_scoped_true_staticRenderFns,
12508
+ simplicityvue_type_template_id_7ecd2ea0_scoped_true_render,
12509
+ simplicityvue_type_template_id_7ecd2ea0_scoped_true_staticRenderFns,
12503
12510
  false,
12504
12511
  null,
12505
- "a8c92006",
12512
+ "7ecd2ea0",
12506
12513
  null
12507
12514
 
12508
12515
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.6.73",
3
+ "version": "0.6.74",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -99,7 +99,7 @@
99
99
  "cp-cli": "^1.0.2",
100
100
  "cross-env": "^3.1.3",
101
101
  "css-loader": "^2.1.0",
102
- "eoss-element": "^0.3.47",
102
+ "eoss-element": "^0.3.48",
103
103
  "es6-promise": "^4.0.5",
104
104
  "eslint": "4.18.2",
105
105
  "eslint-config-elemefe": "0.1.1",
Binary file
Binary file
@@ -990,10 +990,6 @@ export default {
990
990
  downloadSetup: '',
991
991
  app: '',
992
992
  qrimg: '',
993
- ios: '',
994
- android: '',
995
- pad: '',
996
- ipad: '',
997
993
  interval: null,
998
994
  showResetPassword: false,
999
995
  operationCheckCode: '',
Binary file
@@ -1043,7 +1043,7 @@ export default {
1043
1043
  if (this.indexUrl) {
1044
1044
  let obj = this.getMenu(this.menus, this.indexUrl);
1045
1045
  obj = obj
1046
- ? obj
1046
+ ? JSON.parse(JSON.stringify(obj))
1047
1047
  : {
1048
1048
  url: this.indexUrl,
1049
1049
  text: '工作台',
@@ -1066,6 +1066,7 @@ export default {
1066
1066
  if (app.url) {
1067
1067
  let obj = this.getMenu(this.menus, app.url);
1068
1068
  if (obj) {
1069
+ obj = JSON.parse(JSON.stringify(obj));
1069
1070
  let tab = this.setIframeType(obj);
1070
1071
  this.tabs = [tab];
1071
1072
  this.activeName = tab.id;
@@ -1079,8 +1080,10 @@ export default {
1079
1080
  if (subMenus) {
1080
1081
  let obj = this.getMenu(this.menus, this.appCode, 'appCode');
1081
1082
  if (obj) {
1082
- if (!obj.url) {
1083
- obj = this.getFirst(obj);
1083
+ if (obj.url) {
1084
+ obj = JSON.parse(JSON.stringify(obj));
1085
+ } else {
1086
+ obj = JSON.parse(JSON.stringify(this.getFirst(obj)));
1084
1087
  }
1085
1088
  this.subActive = obj.id;
1086
1089
  let tab = this.setIframeType(obj);
@@ -1103,6 +1106,7 @@ export default {
1103
1106
  if (this.tabs.length == 0) {
1104
1107
  let obj = this.getFirst(subMenus);
1105
1108
  if (obj) {
1109
+ obj = JSON.parse(JSON.stringify(obj));
1106
1110
  this.subActive = obj.id;
1107
1111
  let tab = this.setIframeType(obj);
1108
1112
  this.tabs = [tab];
@@ -1126,7 +1130,7 @@ export default {
1126
1130
  this.initApps[this.initApps.length - 1]
1127
1131
  );
1128
1132
  if (obj) {
1129
- let tab = this.setIframeType(obj);
1133
+ let tab = this.setIframeType(JSON.parse(JSON.stringify(obj)));
1130
1134
  this.tabs.push(tab);
1131
1135
  this.activeName = tab.id;
1132
1136
  }
@@ -1216,7 +1220,7 @@ export default {
1216
1220
  } else if (
1217
1221
  item.url === res ||
1218
1222
  item.id === res ||
1219
- (item.appCode && item.appCode === res)
1223
+ item.appCode === res
1220
1224
  ) {
1221
1225
  return item;
1222
1226
  }
@@ -1480,6 +1484,7 @@ export default {
1480
1484
  ? this.getMenu(this.menus, res.code, 'appCode')
1481
1485
  : null;
1482
1486
  if (obj) {
1487
+ obj = JSON.parse(JSON.stringify(obj));
1483
1488
  let n = util.indexOfObj(this.tabs, obj, 'id');
1484
1489
  if (n == -1) {
1485
1490
  let tab = this.setIframeType(obj);
@@ -1518,6 +1523,7 @@ export default {
1518
1523
  : false;
1519
1524
  this.showApps = false;
1520
1525
  if (subMenus && subMenus.url) {
1526
+ subMenus = JSON.parse(JSON.stringify(subMenus));
1521
1527
  let i = util.indexOfObj(this.tabs, subMenus, 'id');
1522
1528
  this.activeName = subMenus.id;
1523
1529
  if (i == -1) {
@@ -1525,7 +1531,7 @@ export default {
1525
1531
  this.tabs.push(tab);
1526
1532
  } else {
1527
1533
  if (subMenus.method == 'iframe') {
1528
- subMenus.url = util.handlerUrl(subMenus.url);
1534
+ this.tabs[i].url = util.handlerUrl(subMenus.url);
1529
1535
  }
1530
1536
  }
1531
1537
  }
@@ -2002,6 +2008,7 @@ export default {
2002
2008
  }
2003
2009
  let obj = this.getMenu(this.menus, apps[apps.length - 1]);
2004
2010
  if (obj) {
2011
+ obj = JSON.parse(JSON.stringify(obj));
2005
2012
  let i = util.indexOfObj(this.tabs, obj, 'id,code,appCode');
2006
2013
  let n = util.indexOfObj(this.tabs, this.activeName, 'id');
2007
2014
  let old = this.activeName;
package/src/index.js CHANGED
@@ -125,7 +125,7 @@ if (typeof window !== 'undefined' && window.Vue) {
125
125
  }
126
126
 
127
127
  export default {
128
- version: '0.6.73',
128
+ version: '0.6.74',
129
129
  install,
130
130
  Button,
131
131
  ButtonGroup,