@bit-sun/business-component 2.2.15 → 2.2.17
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.esm.js
CHANGED
|
@@ -10622,7 +10622,13 @@ var AddSelect = function AddSelect(props) {
|
|
|
10622
10622
|
}
|
|
10623
10623
|
handleLoading(isContinue, false);
|
|
10624
10624
|
}).catch(function (Error) {
|
|
10625
|
-
|
|
10625
|
+
if (_typeof(Error) === 'object') {
|
|
10626
|
+
!Error.needThrowError ? null : message.error(Error.message);
|
|
10627
|
+
} else {
|
|
10628
|
+
message.error(Error);
|
|
10629
|
+
}
|
|
10630
|
+
handleLoading(isContinue, false);
|
|
10631
|
+
}).finally(function () {
|
|
10626
10632
|
handleLoading(isContinue, false);
|
|
10627
10633
|
});
|
|
10628
10634
|
} else {
|
package/dist/index.js
CHANGED
|
@@ -10640,7 +10640,13 @@ var AddSelect = function AddSelect(props) {
|
|
|
10640
10640
|
}
|
|
10641
10641
|
handleLoading(isContinue, false);
|
|
10642
10642
|
}).catch(function (Error) {
|
|
10643
|
-
|
|
10643
|
+
if (_typeof(Error) === 'object') {
|
|
10644
|
+
!Error.needThrowError ? null : antd.message.error(Error.message);
|
|
10645
|
+
} else {
|
|
10646
|
+
antd.message.error(Error);
|
|
10647
|
+
}
|
|
10648
|
+
handleLoading(isContinue, false);
|
|
10649
|
+
}).finally(function () {
|
|
10644
10650
|
handleLoading(isContinue, false);
|
|
10645
10651
|
});
|
|
10646
10652
|
} else {
|
package/package.json
CHANGED
|
@@ -752,7 +752,13 @@ const AddSelect = (props: any) => {
|
|
|
752
752
|
}
|
|
753
753
|
handleLoading(isContinue,false)
|
|
754
754
|
}).catch(Error => {
|
|
755
|
-
|
|
755
|
+
if(typeof Error === 'object') {
|
|
756
|
+
!Error.needThrowError ? null : message.error(Error.message)
|
|
757
|
+
} else {
|
|
758
|
+
message.error(Error);
|
|
759
|
+
}
|
|
760
|
+
handleLoading(isContinue,false)
|
|
761
|
+
}).finally(() => {
|
|
756
762
|
handleLoading(isContinue,false)
|
|
757
763
|
})
|
|
758
764
|
} else {
|