From 5fcfabf1d406fa875d5f2bc7611633e9f3b2fdf4 Mon Sep 17 00:00:00 2001 From: Rex Date: Mon, 24 Nov 2025 07:00:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E4=B8=AD=E6=A0=87=E9=A2=98=E6=A0=8F=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98=20(#6934)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/src/views/system/menu/modules/form.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/playground/src/views/system/menu/modules/form.vue b/playground/src/views/system/menu/modules/form.vue index 3cf40e356..7d4ae6cfa 100644 --- a/playground/src/views/system/menu/modules/form.vue +++ b/playground/src/views/system/menu/modules/form.vue @@ -107,7 +107,7 @@ const schema: VbenFormSchema[] = [ componentProps() { // 不需要处理多语言时就无需这么做 return { - addonAfter: titleSuffix.value, + ...(titleSuffix.value && { addonAfter: titleSuffix.value }), onChange({ target: { value } }: ChangeEvent) { titleSuffix.value = value && $te(value) ? $t(value) : undefined; }, @@ -442,7 +442,6 @@ const [Form, formApi] = useVbenForm({ showDefaultActions: false, wrapperClass: 'grid-cols-2 gap-x-4', }); - const [Drawer, drawerApi] = useVbenDrawer({ onConfirm: onSubmit, onOpenChange(isOpen) {