fix:【system 系统管理】ele、antd 的搜索清理属性不对的问题

This commit is contained in:
YunaiV
2025-09-06 10:24:59 +08:00
parent fcaa81ff3b
commit 0539aece1b
90 changed files with 259 additions and 259 deletions

View File

@@ -46,7 +46,7 @@ export function useImportTableFormSchema(): VbenFormSchema[] {
label: '表名称',
component: 'Input',
componentProps: {
allowClear: true,
clearable: true,
placeholder: '请输入表名称',
},
},
@@ -55,7 +55,7 @@ export function useImportTableFormSchema(): VbenFormSchema[] {
label: '表描述',
component: 'Input',
componentProps: {
allowClear: true,
clearable: true,
placeholder: '请输入表描述',
},
},
@@ -166,7 +166,7 @@ export function useGenerationInfoBaseFormSchema(): VbenFormSchema[] {
help: '分配到指定菜单下,例如 系统管理',
component: 'ApiTreeSelect',
componentProps: {
allowClear: true,
clearable: true,
api: async () => {
const data = await getMenuList();
data.unshift({
@@ -260,7 +260,7 @@ export function useGenerationInfoTreeFormSchema(
help: '树显示的父编码字段名,例如 parent_Id',
componentProps: {
class: 'w-full',
allowClear: true,
clearable: true,
placeholder: '请选择',
options: columns.map((column) => ({
label: column.columnName,
@@ -276,7 +276,7 @@ export function useGenerationInfoTreeFormSchema(
help: '树节点显示的名称字段,一般是 name',
componentProps: {
class: 'w-full',
allowClear: true,
clearable: true,
placeholder: '请选择名称字段',
options: columns.map((column) => ({
label: column.columnName,
@@ -312,7 +312,7 @@ export function useGenerationInfoSubTableFormSchema(
help: '关联主表(父表)的表名, 如system_user',
componentProps: {
class: 'w-full',
allowClear: true,
clearable: true,
placeholder: '请选择',
options: tables.map((table) => ({
label: `${table.tableName}${table.tableComment}`,
@@ -328,7 +328,7 @@ export function useGenerationInfoSubTableFormSchema(
help: '子表关联的字段, 如user_id',
componentProps: {
class: 'w-full',
allowClear: true,
clearable: true,
placeholder: '请选择',
options: columns.map((column) => ({
label: `${column.columnName}:${column.columnComment}`,
@@ -344,7 +344,7 @@ export function useGenerationInfoSubTableFormSchema(
help: '主表与子表的关联关系',
componentProps: {
class: 'w-full',
allowClear: true,
clearable: true,
placeholder: '请选择',
options: [
{
@@ -370,7 +370,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
label: '表名称',
component: 'Input',
componentProps: {
allowClear: true,
clearable: true,
placeholder: '请输入表名称',
},
},
@@ -379,7 +379,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
label: '表描述',
component: 'Input',
componentProps: {
allowClear: true,
clearable: true,
placeholder: '请输入表描述',
},
},
@@ -389,7 +389,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'RangePicker',
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,
clearable: true,
},
},
];