Feat: create - support simulated Android device preview #45
@@ -46,6 +46,7 @@
|
|||||||
|
|
||||||
.preview {
|
.preview {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
position: relative;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
|||||||
@@ -379,6 +379,7 @@ const Create = () => {
|
|||||||
<Playground.Output.Preview.Render
|
<Playground.Output.Preview.Render
|
||||||
iframeKey={previewTemplate}
|
iframeKey={previewTemplate}
|
||||||
compiledCode={compiledCode}
|
compiledCode={compiledCode}
|
||||||
|
mobileMode={formValues.platform === 'ANDROID'}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<span className={'no-preview'}>暂无预览</span>
|
<span className={'no-preview'}>暂无预览</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user