From 1e3a921a9f3806bcf3b374d4f775314f5c865bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=A4=9A=E7=9B=8A?= Date: Thu, 14 Jan 2021 11:03:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E9=A1=B9=E6=9C=89=E5=A4=9A=E4=B8=AA=E7=9A=84=E6=97=B6=E5=80=99?= =?UTF-8?q?=E5=9B=9E=E8=BD=A6=E4=B8=8D=E6=8F=90=E4=BA=A4=E9=97=AE=E9=A2=98?= =?UTF-8?q?;=20ci=20=E6=97=B6=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=20sdk=20?= =?UTF-8?q?(#1387)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy-gh-pages.sh | 6 ++++++ src/renderers/Form/index.tsx | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/deploy-gh-pages.sh b/deploy-gh-pages.sh index 640348169..1d44c5980 100755 --- a/deploy-gh-pages.sh +++ b/deploy-gh-pages.sh @@ -19,6 +19,12 @@ cp -r gh-pages/zh-CN/docs/* gh-pages/docs/ cp ./schema.json ./gh-pages +sh build.sh + +tar -zcvf sdk.tar.gz sdk + +mv sdk.tar.gz gh-pages/ + # 不走 cdn 了 # node ./scripts/upload2cdn.js $1 $2 diff --git a/src/renderers/Form/index.tsx b/src/renderers/Form/index.tsx index b5a1e9225..7daa2da26 100644 --- a/src/renderers/Form/index.tsx +++ b/src/renderers/Form/index.tsx @@ -1343,15 +1343,12 @@ export default class Form extends React.Component { {JSON.stringify(store.data, null, 2)} ) : null} - - {this.renderFormItems({ tabs, fieldSet, controls })} - {render( 'modal', { @@ -1367,7 +1364,6 @@ export default class Form extends React.Component { show: store.dialogOpen } )} - {render( 'modal', { @@ -1383,6 +1379,8 @@ export default class Form extends React.Component { show: store.drawerOpen } )} + {/* 实现回车自动提交 */} + ); }