mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2025-12-30 09:42:25 +00:00
fix: 修复菜单管理中标题栏样式异常问题 (#6934)
This commit is contained in:
@@ -107,7 +107,7 @@ const schema: VbenFormSchema[] = [
|
|||||||
componentProps() {
|
componentProps() {
|
||||||
// 不需要处理多语言时就无需这么做
|
// 不需要处理多语言时就无需这么做
|
||||||
return {
|
return {
|
||||||
addonAfter: titleSuffix.value,
|
...(titleSuffix.value && { addonAfter: titleSuffix.value }),
|
||||||
onChange({ target: { value } }: ChangeEvent) {
|
onChange({ target: { value } }: ChangeEvent) {
|
||||||
titleSuffix.value = value && $te(value) ? $t(value) : undefined;
|
titleSuffix.value = value && $te(value) ? $t(value) : undefined;
|
||||||
},
|
},
|
||||||
@@ -442,7 +442,6 @@ const [Form, formApi] = useVbenForm({
|
|||||||
showDefaultActions: false,
|
showDefaultActions: false,
|
||||||
wrapperClass: 'grid-cols-2 gap-x-4',
|
wrapperClass: 'grid-cols-2 gap-x-4',
|
||||||
});
|
});
|
||||||
|
|
||||||
const [Drawer, drawerApi] = useVbenDrawer({
|
const [Drawer, drawerApi] = useVbenDrawer({
|
||||||
onConfirm: onSubmit,
|
onConfirm: onSubmit,
|
||||||
onOpenChange(isOpen) {
|
onOpenChange(isOpen) {
|
||||||
|
|||||||
Reference in New Issue
Block a user