mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:18:03 +08:00
Merge pull request #286 from 2betop/master
修复 form>service schema 更新,ui不更新的问题
This commit is contained in:
commit
9577d53bfc
@ -53,7 +53,7 @@
|
||||
"rc-input-number": "4.4.5",
|
||||
"react": "^16.8.6",
|
||||
"react-addons-update": "15.6.2",
|
||||
"react-overlays": "^0.8.3",
|
||||
"react-overlays": "0.8.3",
|
||||
"react-color": "2.13.8",
|
||||
"react-cropper": "1.0.0",
|
||||
"react-date-range": "0.9.4",
|
||||
|
@ -37,11 +37,13 @@ import {default as ToastComponent, toast} from './Toast';
|
||||
import Tooltip from './Tooltip';
|
||||
import TooltipWrapper from './TooltipWrapper';
|
||||
import Tree from './Tree';
|
||||
import Alert2 from './Alert2';
|
||||
|
||||
export {
|
||||
NotFound,
|
||||
Alert as AlertComponent,
|
||||
alert,
|
||||
Alert2,
|
||||
confirm,
|
||||
AsideNav,
|
||||
Button,
|
||||
|
@ -19,6 +19,7 @@ import {
|
||||
NotFound,
|
||||
AlertComponent,
|
||||
alert,
|
||||
Alert2,
|
||||
confirm,
|
||||
AsideNav,
|
||||
Button,
|
||||
@ -184,6 +185,7 @@ export {
|
||||
NotFound,
|
||||
AlertComponent,
|
||||
alert,
|
||||
Alert2,
|
||||
confirm,
|
||||
AsideNav,
|
||||
Button,
|
||||
|
@ -54,7 +54,7 @@ export class ServiceRenderer extends BasicService {
|
||||
renderFormItems
|
||||
) {
|
||||
return (
|
||||
<div className={cx(`Form--${formMode || 'normal'}`)}>
|
||||
<div key={store.schemaKey || 'forms'} className={cx(`Form--${formMode || 'normal'}`)}>
|
||||
{renderFormItems(finnalSchema, 'controls', {
|
||||
store,
|
||||
data: store.data,
|
||||
|
Loading…
Reference in New Issue
Block a user