bk-magic-vue 2.4.0-beta.3 → 2.4.0-beta.4
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/dist/bk-magic-vue.js
CHANGED
|
@@ -7853,10 +7853,10 @@
|
|
|
7853
7853
|
return !this.editable || this.readonly;
|
|
7854
7854
|
},
|
|
7855
7855
|
hasFooter: function hasFooter() {
|
|
7856
|
-
return !!this.$slots.footer;
|
|
7856
|
+
return !!this.$slots.footer || !!this.$scopedSlots.footer;
|
|
7857
7857
|
},
|
|
7858
7858
|
hasHeader: function hasHeader() {
|
|
7859
|
-
return !!this.$slots.header;
|
|
7859
|
+
return !!this.$slots.header || !!this.$scopedSlots.header;
|
|
7860
7860
|
},
|
|
7861
7861
|
allowCrossDayProp: function allowCrossDayProp() {
|
|
7862
7862
|
return this.panel === 'RangeTimePickerPanel' ? this.allowCrossDay : false;
|