sun-biz 0.0.3-beta.16 → 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 = ()=>{
|
|
@@ -5783,7 +5785,7 @@ const access_info_exports_ = access_infovue_type_script_setup_true_lang_ts_name_
|
|
|
5783
5785
|
},
|
|
5784
5786
|
disabled: {
|
|
5785
5787
|
type: Boolean,
|
|
5786
|
-
default:
|
|
5788
|
+
default: ()=>void 0
|
|
5787
5789
|
},
|
|
5788
5790
|
title: {
|
|
5789
5791
|
default: 'MDL'
|
|
@@ -5808,8 +5810,9 @@ const access_info_exports_ = access_infovue_type_script_setup_true_lang_ts_name_
|
|
|
5808
5810
|
return dmlList;
|
|
5809
5811
|
}
|
|
5810
5812
|
const disabledLoad = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
|
|
5811
|
-
if (
|
|
5812
|
-
|
|
5813
|
+
if (0 === __props.bizData.length) return true;
|
|
5814
|
+
if (void 0 === __props.disabled) return !isCloudEnv;
|
|
5815
|
+
return __props.disabled;
|
|
5813
5816
|
});
|
|
5814
5817
|
const dmlList = useGetDMLList();
|
|
5815
5818
|
async function clickDropdown(item) {
|
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 = ()=>{
|
|
@@ -5661,7 +5663,7 @@ const access_info_exports_ = access_infovue_type_script_setup_true_lang_ts_name_
|
|
|
5661
5663
|
},
|
|
5662
5664
|
disabled: {
|
|
5663
5665
|
type: Boolean,
|
|
5664
|
-
default:
|
|
5666
|
+
default: ()=>void 0
|
|
5665
5667
|
},
|
|
5666
5668
|
title: {
|
|
5667
5669
|
default: 'MDL'
|
|
@@ -5686,8 +5688,9 @@ const access_info_exports_ = access_infovue_type_script_setup_true_lang_ts_name_
|
|
|
5686
5688
|
return dmlList;
|
|
5687
5689
|
}
|
|
5688
5690
|
const disabledLoad = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
|
|
5689
|
-
if (
|
|
5690
|
-
|
|
5691
|
+
if (0 === __props.bizData.length) return true;
|
|
5692
|
+
if (void 0 === __props.disabled) return !isCloudEnv;
|
|
5693
|
+
return __props.disabled;
|
|
5691
5694
|
});
|
|
5692
5695
|
const dmlList = useGetDMLList();
|
|
5693
5696
|
async function clickDropdown(item) {
|