wargerm 0.7.72 → 0.7.73
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -6706,7 +6706,7 @@ var ModalForm = function ModalForm(props, ref) {
|
|
6706
6706
|
});
|
6707
6707
|
case 4:
|
6708
6708
|
res = _context2.sent;
|
6709
|
-
if (res.code == 200) {
|
6709
|
+
if ((res === null || res === void 0 ? void 0 : res.code) == 200) {
|
6710
6710
|
setOpen(false);
|
6711
6711
|
onCancel && onCancel();
|
6712
6712
|
}
|
package/dist/index.js
CHANGED
@@ -6750,7 +6750,7 @@ var ModalForm = function ModalForm(props, ref) {
|
|
6750
6750
|
});
|
6751
6751
|
case 4:
|
6752
6752
|
res = _context2.sent;
|
6753
|
-
if (res.code == 200) {
|
6753
|
+
if ((res === null || res === void 0 ? void 0 : res.code) == 200) {
|
6754
6754
|
setOpen(false);
|
6755
6755
|
onCancel && onCancel();
|
6756
6756
|
}
|