sun-biz 0.0.3-beta.17 → 0.0.3-beta.18
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/components/index.js
CHANGED
|
@@ -705,7 +705,8 @@ const _hoisted_1 = {
|
|
|
705
705
|
},
|
|
706
706
|
emits: [
|
|
707
707
|
"success",
|
|
708
|
-
"cancel"
|
|
708
|
+
"cancel",
|
|
709
|
+
"close"
|
|
709
710
|
],
|
|
710
711
|
setup (__props, { expose: __expose, emit: __emit }) {
|
|
711
712
|
const { visible, closeDialog, openDialog } = useDialog();
|
|
@@ -716,6 +717,7 @@ const _hoisted_1 = {
|
|
|
716
717
|
// 纯关闭弹窗,不执行其他操作,用于左上角X
|
|
717
718
|
const justCloseDialog = ()=>{
|
|
718
719
|
closeDialog();
|
|
720
|
+
emits("close");
|
|
719
721
|
};
|
|
720
722
|
// 处理常规关闭,支持before-close钩子
|
|
721
723
|
const handleClose = ()=>{
|
package/dist/index.js
CHANGED
|
@@ -706,7 +706,8 @@ const _hoisted_1 = {
|
|
|
706
706
|
},
|
|
707
707
|
emits: [
|
|
708
708
|
"success",
|
|
709
|
-
"cancel"
|
|
709
|
+
"cancel",
|
|
710
|
+
"close"
|
|
710
711
|
],
|
|
711
712
|
setup (__props, { expose: __expose, emit: __emit }) {
|
|
712
713
|
const { visible, closeDialog, openDialog } = useDialog();
|
|
@@ -717,6 +718,7 @@ const _hoisted_1 = {
|
|
|
717
718
|
// 纯关闭弹窗,不执行其他操作,用于左上角X
|
|
718
719
|
const justCloseDialog = ()=>{
|
|
719
720
|
closeDialog();
|
|
721
|
+
emits("close");
|
|
720
722
|
};
|
|
721
723
|
// 处理常规关闭,支持before-close钩子
|
|
722
724
|
const handleClose = ()=>{
|