242c7416 by 杨炀

no message

1 parent 90755055
......@@ -360,8 +360,10 @@ function submit() {
submitOrderScenic(form.value).then(res => {
if (res.data) {
if (res.data.roomNum == -100) {
if (res.data.orderId == -400) {
ElMessage.warning(language.value == 0 ? '剩余票数不足' : 'The remaining number of rooms is insufficient')
} else if (res.data.orderId == -300) {
ElMessage.warning(language.value == 0 ? '提交失败,请稍后再试' : 'Submission failed, please try again later')
} else {
// 去付钱
router.push({
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!