fix: naive code

This commit is contained in:
xingyu4j
2025-10-17 11:24:07 +08:00
parent 9499a80e8a
commit a5e3406849
39 changed files with 112 additions and 175 deletions

View File

@@ -36,8 +36,6 @@ export function useFormSchema(): VbenFormSchema[] {
component: 'RadioGroup',
componentProps: {
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
buttonStyle: 'solid',
optionType: 'button',
},
rules: z.number().default(CommonStatusEnum.ENABLE),
},

View File

@@ -149,6 +149,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
{
label: $t('common.edit'),
type: 'primary',
text: true,
icon: ACTION_ICON.EDIT,
auth: ['system:tenant-package:update'],
onClick: handleEdit.bind(null, row),

View File

@@ -135,7 +135,7 @@ function getAllNodeIds(nodes: any[], ids: number[] = []): number[] {
<Modal :title="getTitle" class="w-2/5">
<Form class="mx-6">
<template #menuIds="slotProps">
<NSpin :show="menuLoading" content-class="w-full">
<NSpin :show="menuLoading" class="w-full">
<Tree
class="max-h-96 overflow-y-auto"
:tree-data="menuTree"