fix: 字典管理-配置:无搜索框问题(https://gitee.com/huge-dream/django-vue3-admin/issues/I6ZGNK)
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
import * as api from './api';
|
||||
import { dict, UserPageQuery, AddReq, DelReq, EditReq, CrudOptions, CreateCrudOptionsProps, CreateCrudOptionsRet } from '@fast-crud/fast-crud';
|
||||
import {
|
||||
dict,
|
||||
UserPageQuery,
|
||||
AddReq,
|
||||
DelReq,
|
||||
EditReq,
|
||||
CrudOptions,
|
||||
CreateCrudOptionsProps,
|
||||
CreateCrudOptionsRet
|
||||
} from '@fast-crud/fast-crud';
|
||||
import {dictionary} from '/@/utils/dictionary';
|
||||
|
||||
export const createCrudOptions = function ({crudExpose, context}: CreateCrudOptionsProps): CreateCrudOptionsRet {
|
||||
@@ -72,7 +81,7 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp
|
||||
label: {
|
||||
title: '名称',
|
||||
search: {
|
||||
disabled: false,
|
||||
show: true,
|
||||
component: {
|
||||
props: {
|
||||
clearable: true,
|
||||
@@ -183,7 +192,7 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp
|
||||
value: {
|
||||
title: '数据值',
|
||||
search: {
|
||||
disabled: true,
|
||||
show: true,
|
||||
component: {
|
||||
props: {
|
||||
clearable: true,
|
||||
@@ -243,7 +252,7 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp
|
||||
title: '状态',
|
||||
width: 80,
|
||||
search: {
|
||||
disabled: false,
|
||||
show: true
|
||||
},
|
||||
type: 'dict-radio',
|
||||
dict: dict({
|
||||
|
||||
Reference in New Issue
Block a user