From ab39302482812b48b1aa3ae4346fd56c2149cc9a Mon Sep 17 00:00:00 2001 From: cxz66666 <1092889706@qq.com> Date: Mon, 10 Aug 2020 23:40:16 +0800 Subject: [PATCH] fix response api --- src/components/Sheet.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Sheet.js b/src/components/Sheet.js index 02a4f50..560471d 100644 --- a/src/components/Sheet.js +++ b/src/components/Sheet.js @@ -46,7 +46,8 @@ class NewForm extends React.Component { method: "POST", data: qs.stringify({ dto: JSON.stringify(values) }), }); - if (result.data.success) { + + if (result.data.Status === "success") { message.success( "提交成功!后续的面试时间会以短信形式通知,期待你的加入!" );