bk-magic-vue 2.5.9-beta.16 → 2.5.9-beta.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.
@@ -57025,7 +57025,7 @@
57025
57025
  handleItem: function handleItem(item) {
57026
57026
  var _this2 = this;
57027
57027
  var fromInit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
57028
- if (item.disabled && !this.allowDisabledExpand) return;
57028
+ if (item.disabled && (!this.allowDisabledExpand || !item.children)) return;
57029
57029
  if (this.isRemote) {
57030
57030
  new promise$1(function (resolve, reject) {
57031
57031
  _this2.remoteMethod(item, resolve);
@@ -57507,7 +57507,7 @@
57507
57507
  var isLast = params.isLast,
57508
57508
  checkAnyLevel = params.checkAnyLevel,
57509
57509
  fromInit = params.fromInit;
57510
- if (isLast || checkAnyLevel) {
57510
+ if (isLast || checkAnyLevel || fromInit) {
57511
57511
  var oldIdList = JSON.parse(stringify$1(_this2.currentList));
57512
57512
  _this2.selectedList = _this2.tmpSelected;
57513
57513
  var newIdList = _this2.selectedList.map(function (item) {
@@ -59611,7 +59611,7 @@
59611
59611
  asideContentVisible: true,
59612
59612
  minimized: false,
59613
59613
  limitMax: null,
59614
- asideStyleValue: this.initialDivide,
59614
+ asideStyleValue: null,
59615
59615
  state: {}
59616
59616
  };
59617
59617
  },
@@ -59638,6 +59638,9 @@
59638
59638
  return 0;
59639
59639
  }
59640
59640
  },
59641
+ created: function created() {
59642
+ this.asideStyleValue = this.initialDivide;
59643
+ },
59641
59644
  mounted: function mounted() {
59642
59645
  this.setupLimit();
59643
59646
  addResizeListener(this.$el, this.setupLimit);