Browse Source

fix: 修复菜单管理中标题栏样式异常问题 (#6934)

pull/6937/head^2
Rex 2 months ago
committed by GitHub
parent
commit
5fcfabf1d4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      playground/src/views/system/menu/modules/form.vue

3
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) {

Loading…
Cancel
Save