message-verify 1.0.0-beta.14 → 1.0.0-beta.15

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.
@@ -77,6 +77,9 @@ const CreateMessageVerifyModal = ({ props }) => {
77
77
  }
78
78
  });
79
79
  console.log('接口返回值', res);
80
+ if (res && typeof res === 'object' && 'data' in res) {
81
+ console.log('接口返回的 data 字段', res.data);
82
+ }
80
83
  // setVisible(false);
81
84
  }
82
85
  } }), _jsx(Button, { disabled: countdown > 0 || !captchCode, onClick: handleResend, style: { padding: '8px' }, children: countdown > 0 ? t('countDownSecound', lang, { countdown }) : t('reSend', lang) })] }), countdown > 0 ? null :
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "message-verify",
3
- "version": "1.0.0-beta.14",
3
+ "version": "1.0.0-beta.15",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "dependencies": {
@@ -92,6 +92,9 @@ const CreateMessageVerifyModal = ({ props }: { props: ModalConfig }) => {
92
92
  }
93
93
  });
94
94
  console.log('接口返回值', res);
95
+ if (res && typeof res === 'object' && 'data' in res) {
96
+ console.log('接口返回的 data 字段', res.data);
97
+ }
95
98
  // setVisible(false);
96
99
  }
97
100
  }} />