chore: 流程定义 样式

This commit is contained in:
dap 2024-12-17 19:29:53 +08:00
parent 0f2909172d
commit ffdbd3435a

View File

@ -47,14 +47,7 @@ async function setupCategorySelect() {
id: 'categoryId', id: 'categoryId',
pid: 'parentId', pid: 'parentId',
}); });
const fullMenuTree = [ addFullName(tree, 'categoryName', ' / ');
{
categoryId: 0,
categoryName: $t('menu.root'),
children: tree,
},
];
addFullName(fullMenuTree, 'categoryName', ' / ');
formApi.updateSchema([ formApi.updateSchema([
{ {
@ -67,8 +60,8 @@ async function setupCategorySelect() {
// 256 // 256
listHeight: 300, listHeight: 300,
showSearch: true, showSearch: true,
treeData: fullMenuTree, treeData: tree,
treeDefaultExpandAll: false, treeDefaultExpandAll: true,
// //
treeDefaultExpandedKeys: [0], treeDefaultExpandedKeys: [0],
treeLine: { showLeafIcon: false }, treeLine: { showLeafIcon: false },
@ -137,7 +130,7 @@ async function handleCancel() {
:title="title" :title="title"
class="w-[550px]" class="w-[550px]"
> >
<div class="min-h-[300px]"> <div class="min-h-[400px]">
<BasicForm /> <BasicForm />
</div> </div>
</BasicDrawer> </BasicDrawer>