Skip to content

Commit 2489f4b

Browse files
committed
add item types
1 parent ec45828 commit 2489f4b

5 files changed

Lines changed: 11 additions & 4 deletions

File tree

apps/app-mobile/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@form-example/app-mobile",
3-
"version": "0.0.7",
3+
"version": "0.0.8",
44
"private": true,
55
"type": "module",
66
"scripts": {

apps/app-pc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@form-example/app-pc",
3-
"version": "0.0.7",
3+
"version": "0.0.8",
44
"private": true,
55
"type": "module",
66
"scripts": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coding-form/root",
3-
"version": "0.0.7",
3+
"version": "0.0.8",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

packages/form-engine/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coding-form/form-engine",
3-
"version": "0.0.7",
3+
"version": "0.0.8",
44
"description": "form-engine components",
55
"keywords": [
66
"coding-form",

packages/form-engine/src/types/item.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import {FieldAttribute} from "@/types/view";
2+
import {DataType} from "@/types/types";
23

34
/**
45
* 表单组件属性
@@ -22,6 +23,12 @@ export interface FormItemProps{
2223
onBlur?: (value: string) => void;
2324
/** 输入提示信息 **/
2425
placeholder?:string;
26+
/** 提醒提示 **/
27+
tooltip?: string;
28+
/** 帮助提示 **/
29+
help?: string;
30+
/** 数据类型 **/
31+
dataType: DataType;
2532
/** 是否只读 **/
2633
readOnly?:boolean;
2734
/** 校验规则,Antd的规则 **/

0 commit comments

Comments
 (0)