message-verify 1.0.1-beta.23 → 1.0.1-beta.24
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/verify-modal.js +3 -3
- package/package.json +1 -1
- package/src/verify-modal.tsx +3 -3
package/dist/verify-modal.js
CHANGED
@@ -104,7 +104,7 @@ const CreateMessageVerifyModal = ({ props }) => {
|
|
104
104
|
console.log('res', res);
|
105
105
|
if (!res) {
|
106
106
|
message.error('验证失败');
|
107
|
-
apiReject();
|
107
|
+
// apiReject();
|
108
108
|
}
|
109
109
|
else {
|
110
110
|
apiResolve(res);
|
@@ -112,9 +112,9 @@ const CreateMessageVerifyModal = ({ props }) => {
|
|
112
112
|
setVisible(false);
|
113
113
|
}
|
114
114
|
catch (error) {
|
115
|
-
console.
|
115
|
+
console.warn('catch', error);
|
116
116
|
message.error('验证失败');
|
117
|
-
apiReject(error);
|
117
|
+
// apiReject(error);
|
118
118
|
setVisible(false);
|
119
119
|
}
|
120
120
|
}
|
package/package.json
CHANGED
package/src/verify-modal.tsx
CHANGED
@@ -120,15 +120,15 @@ const CreateMessageVerifyModal = ({ props }: { props: ModalConfig }) => {
|
|
120
120
|
console.log('res', res);
|
121
121
|
if (!res) {
|
122
122
|
message.error('验证失败');
|
123
|
-
apiReject();
|
123
|
+
// apiReject();
|
124
124
|
} else {
|
125
125
|
apiResolve(res);
|
126
126
|
}
|
127
127
|
setVisible(false);
|
128
128
|
} catch (error) {
|
129
|
-
console.
|
129
|
+
console.warn('catch', error);
|
130
130
|
message.error('验证失败');
|
131
|
-
apiReject(error);
|
131
|
+
// apiReject(error);
|
132
132
|
setVisible(false);
|
133
133
|
}
|
134
134
|
}
|