Skip to content

Commit 0c278f0

Browse files
committed
add attributes
1 parent 41c2c97 commit 0c278f0

5 files changed

Lines changed: 8 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.6",
3+
"version": "0.0.7",
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.6",
3+
"version": "0.0.7",
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.6",
3+
"version": "0.0.7",
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.6",
3+
"version": "0.0.7",
44
"description": "form-engine components",
55
"keywords": [
66
"coding-form",

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import {FieldAttribute} from "@/types/view";
2+
13
/**
24
* 表单组件属性
35
*/
@@ -28,4 +30,6 @@ export interface FormItemProps{
2830
layout?:'horizontal' | 'vertical';
2931
/** 刷新版本号 **/
3032
version?:number;
33+
/** 附加属性 **/
34+
attributes?: FieldAttribute[];
3135
}

0 commit comments

Comments
 (0)