eoss-ui 0.5.71 → 0.5.72

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.
Files changed (50) hide show
  1. package/lib/cascader.js +22 -3
  2. package/lib/data-table.js +16 -9
  3. package/lib/dialog.js +2 -3
  4. package/lib/eoss-ui.common.js +324 -88
  5. package/lib/icon.js +3 -2
  6. package/lib/icons.js +1 -1
  7. package/lib/index.js +1 -1
  8. package/lib/login.js +12 -2
  9. package/lib/main.js +74 -17
  10. package/lib/nav.js +158 -13
  11. package/lib/select.js +0 -2
  12. package/lib/theme-chalk/base.css +1 -1
  13. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  14. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  15. package/lib/theme-chalk/icon.css +1 -1
  16. package/lib/theme-chalk/index.css +1 -1
  17. package/lib/theme-chalk/main.css +1 -1
  18. package/lib/theme-chalk/menu.css +1 -1
  19. package/lib/theme-chalk/nav.css +1 -1
  20. package/lib/theme-chalk/sizer.css +1 -1
  21. package/lib/theme-chalk/upload.css +1 -1
  22. package/lib/tree.js +3 -3
  23. package/package.json +1 -1
  24. package/packages/cascader/src/main.vue +22 -3
  25. package/packages/data-table/src/main.vue +14 -6
  26. package/packages/dialog/src/main.vue +0 -1
  27. package/packages/icon/src/main.vue +1 -0
  28. package/packages/icons/src/icon.json +1 -1
  29. package/packages/login/src/main.vue +5 -0
  30. package/packages/main/src/main.vue +21 -12
  31. package/packages/main/src/settings.vue +13 -0
  32. package/packages/nav/src/main.vue +99 -5
  33. package/packages/select/src/main.vue +0 -2
  34. package/packages/theme-chalk/lib/base.css +1 -1
  35. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  36. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  37. package/packages/theme-chalk/lib/icon.css +1 -1
  38. package/packages/theme-chalk/lib/index.css +1 -1
  39. package/packages/theme-chalk/lib/main.css +1 -1
  40. package/packages/theme-chalk/lib/menu.css +1 -1
  41. package/packages/theme-chalk/lib/nav.css +1 -1
  42. package/packages/theme-chalk/lib/sizer.css +1 -1
  43. package/packages/theme-chalk/lib/upload.css +1 -1
  44. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  45. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  46. package/packages/theme-chalk/src/icon.scss +432 -437
  47. package/packages/theme-chalk/src/main.scss +16 -14
  48. package/packages/theme-chalk/src/nav.scss +31 -2
  49. package/packages/tree/src/main.vue +1 -1
  50. package/src/index.js +1 -1
package/lib/login.js CHANGED
@@ -3843,7 +3843,7 @@ var bankCard = { pattern: new RegExp('^([1-9]{1})(\\d{14}|\\d{18})$'), message:
3843
3843
  // ESM COMPAT FLAG
3844
3844
  __webpack_require__.r(__webpack_exports__);
3845
3845
 
3846
- // 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=5bc62799&
3846
+ // 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=249fae96&
3847
3847
  var render = function () {
3848
3848
  var _vm = this
3849
3849
  var _h = _vm.$createElement
@@ -4000,6 +4000,7 @@ var render = function () {
4000
4000
  size: "large",
4001
4001
  type: "text",
4002
4002
  name: "username",
4003
+ tabindex: "1",
4003
4004
  exclude: "",
4004
4005
  placeholder: _vm.username.placeholder,
4005
4006
  focusShow: _vm.focusShow,
@@ -4048,6 +4049,7 @@ var render = function () {
4048
4049
  attrs: {
4049
4050
  size: "large",
4050
4051
  name: "password",
4052
+ tabindex: "2",
4051
4053
  type: "password",
4052
4054
  placeholder: _vm.password.placeholder,
4053
4055
  autocomplete: "off",
@@ -4102,6 +4104,7 @@ var render = function () {
4102
4104
  attrs: {
4103
4105
  size: "large",
4104
4106
  name: "identifyingCode",
4107
+ tabindex: "3",
4105
4108
  type: "text",
4106
4109
  placeholder: "请输入验证码",
4107
4110
  autocomplete: "off",
@@ -4449,6 +4452,7 @@ var render = function () {
4449
4452
  size: "large",
4450
4453
  type: "text",
4451
4454
  name: "target",
4455
+ tabindex: "4",
4452
4456
  placeholder:
4453
4457
  _vm.active == 6
4454
4458
  ? _vm.phone.placeholder
@@ -4505,6 +4509,7 @@ var render = function () {
4505
4509
  type: "text",
4506
4510
  placeholder: "请输入验证码",
4507
4511
  autocomplete: "off",
4512
+ tabindex: "5",
4508
4513
  },
4509
4514
  model: {
4510
4515
  value: _vm.formData.verificationCode,
@@ -4773,7 +4778,7 @@ var staticRenderFns = []
4773
4778
  render._withStripped = true
4774
4779
 
4775
4780
 
4776
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=5bc62799&
4781
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=249fae96&
4777
4782
 
4778
4783
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=28f463b9&
4779
4784
  var resetPasswordvue_type_template_id_28f463b9_render = function () {
@@ -5696,6 +5701,11 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5696
5701
  //
5697
5702
  //
5698
5703
  //
5704
+ //
5705
+ //
5706
+ //
5707
+ //
5708
+ //
5699
5709
 
5700
5710
 
5701
5711
 
package/lib/main.js CHANGED
@@ -3826,7 +3826,7 @@ module.exports = require("runtime-import");
3826
3826
  // ESM COMPAT FLAG
3827
3827
  __webpack_require__.r(__webpack_exports__);
3828
3828
 
3829
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=098112dd&
3829
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=268dce6d&
3830
3830
  var render = function () {
3831
3831
  var _vm = this
3832
3832
  var _h = _vm.$createElement
@@ -3961,7 +3961,7 @@ var render = function () {
3961
3961
  "div",
3962
3962
  { staticClass: "es-main-left" },
3963
3963
  [
3964
- _vm.layout === "topside"
3964
+ _vm.layout === "topside" || _vm.layout === "side"
3965
3965
  ? _c(
3966
3966
  "div",
3967
3967
  { staticClass: "es-main-side" },
@@ -4022,10 +4022,11 @@ var render = function () {
4022
4022
  ? _c("es-nav", {
4023
4023
  attrs: {
4024
4024
  "is-top": _vm.layout == "topside",
4025
+ overlap: _vm.layout == "side",
4025
4026
  data: _vm.menu,
4026
4027
  "default-active": _vm.active,
4027
4028
  width: _vm.navsWidth,
4028
- "nav-width": _vm.navWidth,
4029
+ "nav-width": _vm._navWidth,
4029
4030
  icons: _vm.icons,
4030
4031
  "menu-icon": _vm.menuIcon,
4031
4032
  "sub-icon": _vm.subIcon,
@@ -4268,7 +4269,7 @@ var staticRenderFns = []
4268
4269
  render._withStripped = true
4269
4270
 
4270
4271
 
4271
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=098112dd&
4272
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=268dce6d&
4272
4273
 
4273
4274
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=75d533de&
4274
4275
  var userinfovue_type_template_id_75d533de_render = function () {
@@ -4761,8 +4762,8 @@ var component = Object(componentNormalizer["a" /* default */])(
4761
4762
  )
4762
4763
 
4763
4764
  /* harmony default export */ var userinfo = (component.exports);
4764
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/settings.vue?vue&type=template&id=3c983b8c&
4765
- var settingsvue_type_template_id_3c983b8c_render = function () {
4765
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/settings.vue?vue&type=template&id=e1a47a4a&
4766
+ var settingsvue_type_template_id_e1a47a4a_render = function () {
4766
4767
  var _vm = this
4767
4768
  var _h = _vm.$createElement
4768
4769
  var _c = _vm._self._c || _h
@@ -4999,6 +5000,44 @@ var settingsvue_type_template_id_3c983b8c_render = function () {
4999
5000
  ),
5000
5001
  ]
5001
5002
  ),
5003
+ _c(
5004
+ "el-tooltip",
5005
+ {
5006
+ staticClass: "es-setting-navs-item",
5007
+ attrs: {
5008
+ effect: "dark",
5009
+ content: "侧边菜单布局",
5010
+ placement: "bottom",
5011
+ },
5012
+ },
5013
+ [
5014
+ _c(
5015
+ "div",
5016
+ {
5017
+ staticClass: "es-setting-navs es-setting-side-navs",
5018
+ on: {
5019
+ click: function ($event) {
5020
+ $event.stopPropagation()
5021
+ _vm.handleLayout("side")
5022
+ },
5023
+ },
5024
+ },
5025
+ [
5026
+ _c("i", {
5027
+ directives: [
5028
+ {
5029
+ name: "show",
5030
+ rawName: "v-show",
5031
+ value: _vm.activeName == "side",
5032
+ expression: "activeName == 'side'",
5033
+ },
5034
+ ],
5035
+ staticClass: "es-icon-gou",
5036
+ }),
5037
+ ]
5038
+ ),
5039
+ ]
5040
+ ),
5002
5041
  ],
5003
5042
  1
5004
5043
  ),
@@ -5006,11 +5045,11 @@ var settingsvue_type_template_id_3c983b8c_render = function () {
5006
5045
  ]
5007
5046
  )
5008
5047
  }
5009
- var settingsvue_type_template_id_3c983b8c_staticRenderFns = []
5010
- settingsvue_type_template_id_3c983b8c_render._withStripped = true
5048
+ var settingsvue_type_template_id_e1a47a4a_staticRenderFns = []
5049
+ settingsvue_type_template_id_e1a47a4a_render._withStripped = true
5011
5050
 
5012
5051
 
5013
- // CONCATENATED MODULE: ./packages/main/src/settings.vue?vue&type=template&id=3c983b8c&
5052
+ // CONCATENATED MODULE: ./packages/main/src/settings.vue?vue&type=template&id=e1a47a4a&
5014
5053
 
5015
5054
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/settings.vue?vue&type=script&lang=js&
5016
5055
  //
@@ -5108,6 +5147,19 @@ settingsvue_type_template_id_3c983b8c_render._withStripped = true
5108
5147
  //
5109
5148
  //
5110
5149
  //
5150
+ //
5151
+ //
5152
+ //
5153
+ //
5154
+ //
5155
+ //
5156
+ //
5157
+ //
5158
+ //
5159
+ //
5160
+ //
5161
+ //
5162
+ //
5111
5163
 
5112
5164
 
5113
5165
  /* harmony default export */ var settingsvue_type_script_lang_js_ = ({
@@ -5200,8 +5252,8 @@ settingsvue_type_template_id_3c983b8c_render._withStripped = true
5200
5252
 
5201
5253
  var settings_component = Object(componentNormalizer["a" /* default */])(
5202
5254
  src_settingsvue_type_script_lang_js_,
5203
- settingsvue_type_template_id_3c983b8c_render,
5204
- settingsvue_type_template_id_3c983b8c_staticRenderFns,
5255
+ settingsvue_type_template_id_e1a47a4a_render,
5256
+ settingsvue_type_template_id_e1a47a4a_staticRenderFns,
5205
5257
  false,
5206
5258
  null,
5207
5259
  null,
@@ -6362,9 +6414,6 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
6362
6414
  //
6363
6415
  //
6364
6416
  //
6365
- //
6366
- //
6367
- //
6368
6417
 
6369
6418
 
6370
6419
 
@@ -6532,6 +6581,10 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
6532
6581
  appCode: String,
6533
6582
  //菜单左边距
6534
6583
  navPaddingLeft: Number,
6584
+ navBoxWidth: {
6585
+ type: String,
6586
+ default: '230px'
6587
+ },
6535
6588
  navWidth: String
6536
6589
  },
6537
6590
  computed: {
@@ -6560,10 +6613,13 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
6560
6613
  return true;
6561
6614
  },
6562
6615
  navsWidth: function navsWidth() {
6563
- return this.layout === 'topside' ? '230px' : undefined;
6616
+ return this.layout === 'topside' ? this.navBoxWidth : undefined;
6617
+ },
6618
+ _navWidth: function _navWidth() {
6619
+ return this.layout === 'side' ? this.navBoxWidth : this.layout === 'subsystem' || this.layout === 'topside' ? '0' : this.navWidth;
6564
6620
  },
6565
6621
  showNavTitle: function showNavTitle() {
6566
- return this.layout !== 'topside';
6622
+ return this.layout !== 'topside' && this.layout !== 'side';
6567
6623
  },
6568
6624
 
6569
6625
  //tabs菜单
@@ -6606,7 +6662,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
6606
6662
  } else {
6607
6663
  return { set: !this.set, system: false };
6608
6664
  }
6609
- } else if (this.layout === 'topside') {
6665
+ } else if (this.layout === 'topside' || this.layout === 'side') {
6610
6666
  if (this.hides && Object.keys(this.hides).length) {
6611
6667
  return mainvue_type_script_lang_js_extends({}, this.hides, {
6612
6668
  set: !this.set,
@@ -7407,6 +7463,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
7407
7463
  }
7408
7464
  }
7409
7465
  } else {
7466
+ this.tabs = [];
7410
7467
  this.handleJump(obj.url, obj.urlopenmode, obj);
7411
7468
  }
7412
7469
  return obj;
package/lib/nav.js CHANGED
@@ -3628,7 +3628,7 @@ module.exports = require("axios");
3628
3628
  // ESM COMPAT FLAG
3629
3629
  __webpack_require__.r(__webpack_exports__);
3630
3630
 
3631
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=template&id=04099294&
3631
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=template&id=3f63e2ce&
3632
3632
  var render = function () {
3633
3633
  var _vm = this
3634
3634
  var _h = _vm.$createElement
@@ -3645,12 +3645,24 @@ var render = function () {
3645
3645
  _vm.biserial
3646
3646
  ? _c(
3647
3647
  "div",
3648
- { staticClass: "es-nav-initial" },
3648
+ {
3649
+ staticClass: "es-nav-initial",
3650
+ style: {
3651
+ width: _vm._navWidth,
3652
+ left:
3653
+ this.overlap && !this.subMenu.length
3654
+ ? "15px"
3655
+ : _vm.show
3656
+ ? "-" + _vm.boxWidth
3657
+ : "",
3658
+ },
3659
+ },
3649
3660
  [
3650
3661
  _c(
3651
3662
  "es-menu",
3652
3663
  _vm._b(
3653
3664
  {
3665
+ class: { "es-nav-overlap": _vm.overlap },
3654
3666
  attrs: {
3655
3667
  "sub-nav": "",
3656
3668
  data: _vm.menu,
@@ -3685,7 +3697,11 @@ var render = function () {
3685
3697
  },
3686
3698
  ],
3687
3699
  staticClass: "es-nav-main",
3688
- style: { width: _vm.biserial ? _vm.width : _vm.boxWidth },
3700
+ class: { "es-nav-overlap": _vm.overlap },
3701
+ style: {
3702
+ width: _vm.biserial ? _vm.width : _vm.boxWidth,
3703
+ left: _vm.show ? "15px" : _vm.navWidth,
3704
+ },
3689
3705
  attrs: { biserial: _vm.biserial },
3690
3706
  },
3691
3707
  [
@@ -3772,6 +3788,29 @@ var render = function () {
3772
3788
  ],
3773
3789
  1
3774
3790
  ),
3791
+ _c(
3792
+ "div",
3793
+ {
3794
+ directives: [
3795
+ {
3796
+ name: "show",
3797
+ rawName: "v-show",
3798
+ value: _vm.show,
3799
+ expression: "show",
3800
+ },
3801
+ ],
3802
+ ref: "box",
3803
+ staticClass: "es-sets-button",
3804
+ },
3805
+ [
3806
+ _c("el-button", {
3807
+ ref: "area",
3808
+ staticClass: "es-icon-yingyonglan",
3809
+ attrs: { round: "", type: "primary" },
3810
+ }),
3811
+ ],
3812
+ 1
3813
+ ),
3775
3814
  ]
3776
3815
  )
3777
3816
  }
@@ -3779,7 +3818,7 @@ var staticRenderFns = []
3779
3818
  render._withStripped = true
3780
3819
 
3781
3820
 
3782
- // CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=04099294&
3821
+ // CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=3f63e2ce&
3783
3822
 
3784
3823
  // EXTERNAL MODULE: ./src/utils/util.js
3785
3824
  var util = __webpack_require__(0);
@@ -3849,6 +3888,32 @@ var util = __webpack_require__(0);
3849
3888
  //
3850
3889
  //
3851
3890
  //
3891
+ //
3892
+ //
3893
+ //
3894
+ //
3895
+ //
3896
+ //
3897
+ //
3898
+ //
3899
+ //
3900
+ //
3901
+ //
3902
+ //
3903
+ //
3904
+ //
3905
+ //
3906
+ //
3907
+ //
3908
+ //
3909
+ //
3910
+ //
3911
+ //
3912
+ //
3913
+ //
3914
+ //
3915
+ //
3916
+ //
3852
3917
 
3853
3918
 
3854
3919
  /* harmony default export */ var mainvue_type_script_lang_js_ = ({
@@ -3890,9 +3955,13 @@ var util = __webpack_require__(0);
3890
3955
  subIcon: {
3891
3956
  type: Boolean,
3892
3957
  default: true
3893
- }
3958
+ },
3959
+ overlap: Boolean
3894
3960
  },
3895
3961
  computed: {
3962
+ show: function show() {
3963
+ return this.overlap && this.subMenu.length;
3964
+ },
3896
3965
  menu: function menu() {
3897
3966
  return this.data;
3898
3967
  },
@@ -3912,13 +3981,19 @@ var util = __webpack_require__(0);
3912
3981
  },
3913
3982
  boxWidth: function boxWidth() {
3914
3983
  if (!this.biserial) {
3984
+ if (this.overlap) {
3985
+ return this.navWidth;
3986
+ }
3915
3987
  if (this.isShow) {
3916
3988
  return this.width;
3917
3989
  } else {
3918
3990
  return this.navWidth;
3919
3991
  }
3920
3992
  }
3921
- return this.subMenu && this.subMenu.length && this.isShow ? parseInt(this.width, 10) + parseInt(this.navWidth, 10) + 'px' : this.navWidth;
3993
+ return this.subMenu && this.subMenu.length && this.isShow && !this.overlap ? parseInt(this.width, 10) + parseInt(this.navWidth, 10) + 'px' : this.navWidth;
3994
+ },
3995
+ _navWidth: function _navWidth() {
3996
+ return this.overlap ? parseInt(this.navWidth, 10) - 30 + 'px' : this.navWidth;
3922
3997
  }
3923
3998
  },
3924
3999
  watch: {
@@ -4000,9 +4075,76 @@ var util = __webpack_require__(0);
4000
4075
  },
4001
4076
  mounted: function mounted() {
4002
4077
  this.resetHeight();
4078
+ this.move();
4003
4079
  },
4004
4080
 
4005
4081
  methods: {
4082
+ //设置按钮拖动
4083
+ move: function move() {
4084
+ var _this3 = this;
4085
+
4086
+ var area = this.$refs.area.$el;
4087
+ var box = this.$refs.box;
4088
+ var sTime = 0,
4089
+ eTime = 0;
4090
+
4091
+ area.addEventListener('mousedown', function (e) {
4092
+ sTime = new Date().getTime();
4093
+ var downY = e.y,
4094
+ downX = e.x;
4095
+
4096
+ var _document$body$getBou = document.body.getBoundingClientRect(),
4097
+ winH = _document$body$getBou.height,
4098
+ winW = _document$body$getBou.width;
4099
+ //防止拖动期间选中和复制网页文本
4100
+
4101
+
4102
+ document.body.onselectstart = document.body.oncontextmenu = function () {
4103
+ return false;
4104
+ };
4105
+ document.onmousemove = function (eve) {
4106
+ var size = 40;
4107
+ var moveY = eve.y,
4108
+ moveX = eve.x;
4109
+
4110
+ var _box$getBoundingClien = box.getBoundingClientRect(),
4111
+ boxTop = _box$getBoundingClien.top,
4112
+ boxLeft = _box$getBoundingClien.left;
4113
+
4114
+ boxTop += moveY - downY;
4115
+ boxLeft += moveX - downX;
4116
+ boxTop >= winH - size && (boxTop = winH - size);
4117
+ boxTop <= -size && (boxTop = -size);
4118
+ boxLeft >= winW - size && (boxLeft = winW - size);
4119
+ boxLeft <= -size && (boxLeft = -size);
4120
+ if (boxTop < 0) {
4121
+ boxTop = 0;
4122
+ }
4123
+ if (boxLeft < 0) {
4124
+ boxLeft = 0;
4125
+ }
4126
+ box.style.top = boxTop + 'px';
4127
+ box.style.left = boxLeft + 'px';
4128
+ downY = moveY;
4129
+ downX = moveX;
4130
+ };
4131
+ document.onmouseup = function () {
4132
+ eTime = new Date().getTime();
4133
+ var isClick = eTime - sTime < 200;
4134
+ if (isClick) {
4135
+ var onArea = function onArea() {
4136
+ _this3.subMenu = [];
4137
+ area.removeEventListener('click', onArea);
4138
+ };
4139
+ area.addEventListener('click', onArea);
4140
+ }
4141
+ document.onmousemove = null;
4142
+ document.body.onselectstart = document.body.oncontextmenu = function () {
4143
+ return true;
4144
+ };
4145
+ };
4146
+ });
4147
+ },
4006
4148
  handleChange: function handleChange() {
4007
4149
  if (this.biserial) {
4008
4150
  this.isShow = !this.isShow;
@@ -4010,7 +4152,7 @@ var util = __webpack_require__(0);
4010
4152
  this.isCollapse = !this.isCollapse;
4011
4153
  if (this.isCollapse) {
4012
4154
  this.isShow = false;
4013
- this.menuWidth = '70px';
4155
+ this.menuWidth = this.navWidth;
4014
4156
  } else {
4015
4157
  this.isShow = true;
4016
4158
  this.menuWidth = this.width;
@@ -4037,12 +4179,12 @@ var util = __webpack_require__(0);
4037
4179
  this.$emit('close', res);
4038
4180
  },
4039
4181
  resetHeight: function resetHeight() {
4040
- var _this3 = this;
4182
+ var _this4 = this;
4041
4183
 
4042
4184
  this.$nextTick(function () {
4043
- var height = _this3.$refs.esNav.parentNode.offsetHeight;
4044
- Array.from(_this3.$refs.esNav.parentNode.children).forEach(function (item) {
4045
- if (item !== _this3.$refs.esNav) {
4185
+ var height = _this4.$refs.esNav.parentNode.offsetHeight;
4186
+ Array.from(_this4.$refs.esNav.parentNode.children).forEach(function (item) {
4187
+ if (item !== _this4.$refs.esNav) {
4046
4188
  var mt = util["a" /* default */].getStyle(item, 'margin-top');
4047
4189
  var mb = util["a" /* default */].getStyle(item, 'margin-bottom');
4048
4190
  mt = mt ? parseInt(mt, 10) : 0;
@@ -4050,8 +4192,11 @@ var util = __webpack_require__(0);
4050
4192
  height -= item.offsetHeight + mt + mb;
4051
4193
  }
4052
4194
  });
4053
- _this3.height = height + 'px';
4054
- _this3.menuHeight = _this3.showTitle ? height - 49 + 'px' : height + 'px';
4195
+ if (_this4.overlap) {
4196
+ height -= 15;
4197
+ }
4198
+ _this4.height = height + 'px';
4199
+ _this4.menuHeight = _this4.showTitle ? height - 49 + 'px' : height + 'px';
4055
4200
  });
4056
4201
  }
4057
4202
  }
package/lib/select.js CHANGED
@@ -4040,7 +4040,6 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
4040
4040
  immediate: true,
4041
4041
  handler: function handler(val, old) {
4042
4042
  if (val && val !== old) {
4043
- console.log(1);
4044
4043
  this.label = this.service ? 'label' : 'shortName';
4045
4044
  this.valKey = this.service ? 'value' : 'cciValue';
4046
4045
  var options = store["a" /* default */].get(val);
@@ -4062,7 +4061,6 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
4062
4061
  param: {
4063
4062
  deep: true,
4064
4063
  handler: function handler(val, old) {
4065
- console.log(3);
4066
4064
  if (this.url && JSON.stringify(val) !== JSON.stringify(old)) {
4067
4065
  this.options = [];
4068
4066
  this.getData(this.sysCode);