bk-magic-vue 2.4.8-beta.7 → 2.4.8-beta.8
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
|
@@ -13221,6 +13221,7 @@
|
|
|
13221
13221
|
if (this.escClose) {
|
|
13222
13222
|
addEvent(document, 'keydown', this.escCloseHandler);
|
|
13223
13223
|
}
|
|
13224
|
+
console.error(this);
|
|
13224
13225
|
},
|
|
13225
13226
|
beforeDestroy: function beforeDestroy() {
|
|
13226
13227
|
if (this.escClose) {
|
|
@@ -29433,8 +29434,8 @@
|
|
|
29433
29434
|
instance.type = opts.type || '';
|
|
29434
29435
|
instance.showFooter = opts.showFooter !== false;
|
|
29435
29436
|
instance.closeIcon = opts.closeIcon !== false;
|
|
29436
|
-
instance.maskClose = opts.maskClose;
|
|
29437
|
-
instance.escClose = opts.escClose;
|
|
29437
|
+
instance.maskClose = opts.maskClose === undefined ? true : opts.maskClose;
|
|
29438
|
+
instance.escClose = opts.escClose === undefined ? true : opts.escClose;
|
|
29438
29439
|
instance.theme = opts.theme || 'primary';
|
|
29439
29440
|
instance.icon = opts.icon;
|
|
29440
29441
|
instance.extCls = opts.extCls;
|