bk-magic-vue 2.5.10-beta.14 → 2.5.10-beta.16

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.
@@ -16237,6 +16237,7 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
16237
16237
  bottom:100%;
16238
16238
  left:50%;
16239
16239
  margin-bottom:8px;
16240
+ margin-left:-16px;
16240
16241
  -webkit-transform:translate3d(50%, 50%, 0) rotate(-90deg);
16241
16242
  transform:translate3d(50%, 50%, 0) rotate(-90deg);
16242
16243
  }
@@ -28000,6 +28000,7 @@
28000
28000
  element[innerHTML()] = isRealElement(html) ? html[innerHTML()] : html;
28001
28001
  }
28002
28002
  function setContent(contentEl, props) {
28003
+ if (!contentEl) return;
28003
28004
  if (isRealElement(props.content)) {
28004
28005
  setInnerHTML(contentEl, '');
28005
28006
  contentEl.appendChild(props.content);
@@ -32967,9 +32968,11 @@
32967
32968
  }
32968
32969
  },
32969
32970
  updated: function updated() {
32970
- this.instance.setContent(this.$refs.html);
32971
- if (this.instance.popperInstance) {
32972
- this.instance.popperInstance.update();
32971
+ if (this.$refs.html) {
32972
+ this.instance.setContent(this.$refs.html);
32973
+ if (this.instance.popperInstance) {
32974
+ this.instance.popperInstance.update();
32975
+ }
32973
32976
  }
32974
32977
  },
32975
32978
  beforeDestroy: function beforeDestroy() {