bkui-vue 2.0.2-beta.87 → 2.0.2-beta.88
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/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/index.umd.js +2 -2
- package/lib/index.js +1 -1
- package/lib/modal/index.js +5 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
package/lib/modal/index.js
CHANGED
|
@@ -418,8 +418,11 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
418
418
|
ctx.emit('close');
|
|
419
419
|
};
|
|
420
420
|
var handleClickOutSide = function handleClickOutSide(e) {
|
|
421
|
-
e.
|
|
422
|
-
|
|
421
|
+
var target = e.target;
|
|
422
|
+
// 判断点击的是否是当前 Dialog 的 mask(而不是子 Dialog 的 mask)
|
|
423
|
+
if (target !== maskRef.value) {
|
|
424
|
+
return; // 不是当前 Dialog 的 mask,不处理
|
|
425
|
+
}
|
|
423
426
|
e.preventDefault();
|
|
424
427
|
if (props.quickClose) {
|
|
425
428
|
ctx.emit('quick-close');
|