diff --git a/front/src/views/home/apply.vue b/front/src/views/home/apply.vue index 0b7b7ebe..1209ae57 100644 --- a/front/src/views/home/apply.vue +++ b/front/src/views/home/apply.vue @@ -868,8 +868,8 @@ } soldierApply(_data) .then((res) => { - if (res.data.code == 0) { - message.success(res.data.msg) + if (res.data.msg === 'success') { + message.success('申请提交成功,请到消息中心查看!') jumpToDetailsPageconetent() } else { message.error('申请失败!')