mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
Merge changes I5dc43284,I8fc7f294,Id9acb551 into pre-release
* changes: amis-saas-7740 优化模型页面编辑器 amis-saas-7740 优化模型页面编辑器 amis-saas-7740 重构页面构建逻辑
This commit is contained in:
commit
b41b92e167
@ -29,7 +29,8 @@ export default class MiniEditor extends Editor {
|
||||
}
|
||||
|
||||
render() {
|
||||
const {preview, className, theme, data, isMobile} = this.props;
|
||||
const {preview, className, theme, data, isMobile, autoFocus, previewProps} =
|
||||
this.props;
|
||||
|
||||
return (
|
||||
<div
|
||||
@ -44,12 +45,14 @@ export default class MiniEditor extends Editor {
|
||||
<div className="ae-Editor-inner" onContextMenu={this.handleContextMenu}>
|
||||
<div className="ae-Main">
|
||||
<Preview
|
||||
{...previewProps}
|
||||
isMobile={isMobile}
|
||||
editable={!preview}
|
||||
store={this.store}
|
||||
manager={this.manager}
|
||||
theme={theme}
|
||||
data={data}
|
||||
autoFocus={autoFocus}
|
||||
></Preview>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user