From 6a33ea8023574608044f16fc1af9c285f6e9708e Mon Sep 17 00:00:00 2001 From: yangws <1607839436@qq.com> Date: Thu, 12 Sep 2024 09:47:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8F=90=E7=A4=BA=E6=95=99=E6=9D=90?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=97=B6=E9=80=89=E6=8B=A9=E6=95=99=E6=9D=90?= =?UTF-8?q?;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/prepare/container/reserv.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/renderer/src/views/prepare/container/reserv.vue b/src/renderer/src/views/prepare/container/reserv.vue index ed2ee39..c76c36f 100644 --- a/src/renderer/src/views/prepare/container/reserv.vue +++ b/src/renderer/src/views/prepare/container/reserv.vue @@ -270,6 +270,11 @@ const updateClassReserv = (formData) => { } const addClassReserv = (formData) => { let ids = formData.resource.join(',') + // 判断是否添加教材 + if(!props.bookId){ + ElMessage.warning('请选择教材') + return + } let param = { className: formData.name, classType: formData.type, -- 2.44.0.windows.1