From 9f8f9cfbbac3d176c91b980e24636b81e48c74c9 Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Tue, 15 Oct 2019 11:46:05 +0800 Subject: [PATCH] =?UTF-8?q?fis=20spreadArray=E6=8A=A5=E9=94=99=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/renderers/Form/Item.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ff253d95..7eeaed82 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,7 @@ "fis3": "^3.4.41", "fis3-hook-commonjs": "^0.1.31", "fis3-hook-node_modules": "^2.3.1", - "fis3-parser-typescript": "^1.2.2", + "fis3-parser-typescript": "^1.3.0", "fis3-postpackager-loader": "^2.1.11", "fis3-preprocessor-js-require-css": "^0.1.3", "font-awesome": "4.7.0", diff --git a/src/renderers/Form/Item.tsx b/src/renderers/Form/Item.tsx index 0ca6e048..516a9d46 100644 --- a/src/renderers/Form/Item.tsx +++ b/src/renderers/Form/Item.tsx @@ -588,7 +588,7 @@ export function registerFormItem(config: FormItemConfig): RendererConfig { 'onChange', 'setPrinstineValue', 'readOnly', - ...(Control as any).propsList + ...(Control as any).propsList || [] ]; static displayName = `FormItem${config.type ? `(${config.type})` : ''}`;