小调整
This commit is contained in:
parent
0d12d793e4
commit
c90516365c
|
@ -33,10 +33,13 @@ $Layout-header-boxShadow: none;
|
||||||
$Layout-header-bg: #f5f5f5;
|
$Layout-header-bg: #f5f5f5;
|
||||||
$Layout-aside-width: px2rem(180px);
|
$Layout-aside-width: px2rem(180px);
|
||||||
$Layout-aside-bg: #1e1e28;
|
$Layout-aside-bg: #1e1e28;
|
||||||
|
$Layout-aside-subList-bg: #1e1e28;
|
||||||
$Layout-brand-bg: #0f1012;
|
$Layout-brand-bg: #0f1012;
|
||||||
$Layout-brand-color: #fff;
|
$Layout-brand-color: #fff;
|
||||||
$Layout-asideLink-iconColor: rgba(255, 255, 255, 0.6);
|
$Layout-asideLink-iconColor: rgba(255, 255, 255, 0.6);
|
||||||
$Layout-asideLink-color: #fff;
|
$Layout-asideLink-color: #fff;
|
||||||
|
$Layout-asideLink-onHover-color: #108cee;
|
||||||
|
$Layout-asideLink-onActive-color: #108cee;
|
||||||
$Layout-asideLink-onHover-iconSize: px2rem(16px);
|
$Layout-asideLink-onHover-iconSize: px2rem(16px);
|
||||||
$Layout-asideLink-onHover-iconColor: #108cee;
|
$Layout-asideLink-onHover-iconColor: #108cee;
|
||||||
$Layout-asideLink-fontSize: px2rem(12px);
|
$Layout-asideLink-fontSize: px2rem(12px);
|
||||||
|
|
|
@ -508,7 +508,7 @@ export default class FormControl extends React.PureComponent<
|
||||||
|
|
||||||
return render('', control, {
|
return render('', control, {
|
||||||
...rest,
|
...rest,
|
||||||
key: `${control.name}-${control.type}`, // 很重要:如果不写实际的 control 组件变了,但是 this.control 还是引用的原来那个。
|
key: `${control.name || ''}-${control.type}`, // 很重要:如果不写实际的 control 组件变了,但是 this.control 还是引用的原来那个。
|
||||||
defaultSize: controlWidth,
|
defaultSize: controlWidth,
|
||||||
disabled: disabled || control.disabled,
|
disabled: disabled || control.disabled,
|
||||||
formItem: model,
|
formItem: model,
|
||||||
|
|
Loading…
Reference in New Issue