bk-magic-vue 2.5.4-beta.2 → 2.5.4-beta.3

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.
@@ -7740,6 +7740,19 @@
7740
7740
  if (e && pickerPanel && pickerPanel.contains(e.target)) {
7741
7741
  return;
7742
7742
  }
7743
+ var _this$$slots = this.$slots,
7744
+ headerSlots = _this$$slots.header,
7745
+ footerSlots = _this$$slots.footer;
7746
+ for (var i = 0; i < headerSlots.length; i++) {
7747
+ if (headerSlots[i].elm.contains(e.target)) {
7748
+ return;
7749
+ }
7750
+ }
7751
+ for (var _i = 0; _i < footerSlots.length; _i++) {
7752
+ if (footerSlots[_i].elm.contains(e.target)) {
7753
+ return;
7754
+ }
7755
+ }
7743
7756
  this.visible = false;
7744
7757
  e && e.preventDefault();
7745
7758
  e && e.stopPropagation();