diff --git a/src/views/Zstj_detail.vue b/src/views/Zstj_detail.vue index 5c8cf9c..17911f1 100644 --- a/src/views/Zstj_detail.vue +++ b/src/views/Zstj_detail.vue @@ -271,8 +271,11 @@ yuyue() { apiOpTjYy(formData) .then(res => { if (res.code === 200) { - Toast.success("预约成功"); - this.$router.push('Zstj_yy'); + Toast.success({ message: "预约成功", duration: 3000 }); + // 延时3秒后跳转到预约页面 + setTimeout(() => { + this.$router.push('Zstj_yy'); + }, 4000); } else { Toast.fail(res.message || "预约失败,请重试"); }