242c7416 by 杨炀

no message

1 parent 90755055
...@@ -360,8 +360,10 @@ function submit() { ...@@ -360,8 +360,10 @@ function submit() {
360 360
361 submitOrderScenic(form.value).then(res => { 361 submitOrderScenic(form.value).then(res => {
362 if (res.data) { 362 if (res.data) {
363 if (res.data.roomNum == -100) { 363 if (res.data.orderId == -400) {
364 ElMessage.warning(language.value == 0 ? '剩余票数不足' : 'The remaining number of rooms is insufficient') 364 ElMessage.warning(language.value == 0 ? '剩余票数不足' : 'The remaining number of rooms is insufficient')
365 } else if (res.data.orderId == -300) {
366 ElMessage.warning(language.value == 0 ? '提交失败,请稍后再试' : 'Submission failed, please try again later')
365 } else { 367 } else {
366 // 去付钱 368 // 去付钱
367 router.push({ 369 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!