From 859aba64a8e59642687ce14092d253707d65e083 Mon Sep 17 00:00:00 2001 From: Timothy Yin Date: Mon, 17 Feb 2025 20:46:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=94=A8=E6=88=B7=E7=89=87=E5=A4=B4?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E5=A4=87=E6=B3=A8=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/generation/materials.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pages/generation/materials.vue b/pages/generation/materials.vue index 58f2ec7..9cb9741 100644 --- a/pages/generation/materials.vue +++ b/pages/generation/materials.vue @@ -76,6 +76,7 @@ const userTitlesSchema = object({ title_id: number().required().moreThan(0, '模板 ID 无效'), title: string().required('请填写课程名称'), description: string().required('请填写主讲人名字'), + remark: string().optional(), }) type UserTitlesSchema = InferType @@ -84,6 +85,7 @@ const userTitlesState = reactive({ title_id: 0, title: '', description: '', + remark: '' }) const onUserTitlesRequest = (titles: TitlesTemplate) => { @@ -330,6 +332,13 @@ const onUserTitlesSubmit = (event: FormSubmitEvent) => { > + + +