chore: 流程定义 样式
This commit is contained in:
parent
0f2909172d
commit
ffdbd3435a
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user