mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-02-04 09:35:20 +08:00
前端和后端源码,合并到一个git仓库中,方便用户下载,避免前后端不匹配的问题
This commit is contained in:
15
jeecgboot-vue3/src/components/jeecg/JPrompt/typing.ts
Normal file
15
jeecgboot-vue3/src/components/jeecg/JPrompt/typing.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { ModalOptionsPartial } from '/@/hooks/web/useMessage';
|
||||
import { RenderCallbackParams, Rule } from '/@/components/Form';
|
||||
|
||||
export interface JPromptProps extends ModalOptionsPartial {
|
||||
// 输入框是否必填
|
||||
required?: boolean;
|
||||
// 校验
|
||||
rules?: Rule[];
|
||||
// 动态校验
|
||||
dynamicRules?: (renderCallbackParams: RenderCallbackParams) => Rule[];
|
||||
// 占位字符
|
||||
placeholder?: string;
|
||||
// 输入框默认值
|
||||
defaultValue?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user