{
}
renderBody() {
- const {tabs, fieldSet, controls, mode, className, classnames: cx} = this.props;
+ const {
+ tabs,
+ fieldSet,
+ controls,
+ mode,
+ className,
+ classnames: cx
+ } = this.props;
return (
diff --git a/src/themes/cxd.ts b/src/themes/cxd.ts
index c858c025..8568fcc5 100644
--- a/src/themes/cxd.ts
+++ b/src/themes/cxd.ts
@@ -5,27 +5,27 @@ theme('cxd', {
classPrefix: 'cxd-',
renderers: {
- form: {
+ 'form': {
horizontal: {
leftFixed: true
}
},
- pagination: {
+ 'pagination': {
maxButtons: 9,
showPageInput: false
},
- fieldset: {
+ 'fieldset': {
collapsable: false
},
- remark: {
+ 'remark': {
icon: 'iconfont icon-warning-mark',
placement: 'right'
},
- tabs: {
+ 'tabs': {
mode: 'line'
},
@@ -38,7 +38,7 @@ theme('cxd', {
clearable: true
},
- status: {
+ 'status': {
map: {
success: 'Status-icon--success',
pending: 'Status-icon--rolling',
diff --git a/src/themes/dark.ts b/src/themes/dark.ts
index e538e5d9..0b431dbe 100644
--- a/src/themes/dark.ts
+++ b/src/themes/dark.ts
@@ -6,7 +6,7 @@ theme('dark', {
classPrefix,
classnames,
renderers: {
- json: {
+ 'json': {
jsonTheme: 'eighties'
},
'editor-control': {
diff --git a/src/utils/helper.ts b/src/utils/helper.ts
index 7879f14c..3d53942a 100644
--- a/src/utils/helper.ts
+++ b/src/utils/helper.ts
@@ -70,7 +70,11 @@ export function syncDataFromSuper(
// 如果是 form store,则从父级同步 formItem 种东西。
if (store && store.storeType === 'FormStore') {
- keys = uniq((store as IFormStore).items.map(item => `${item.name}`.replace(/\..*$/, '')));
+ keys = uniq(
+ (store as IFormStore).items.map(item =>
+ `${item.name}`.replace(/\..*$/, '')
+ )
+ );
force = false;
}