|
@@ -12,6 +12,12 @@ export default defineUI({
|
|
|
const { store, actions, controls, jumpIndexHtml } = editor;
|
|
|
|
|
|
function showPreviewModal() {
|
|
|
+ controls.screenCtrl.saveScreenPage();
|
|
|
+ const rootPage = controls.pageCtrl.rootPage;
|
|
|
+ rootPage.value.pageMode = controls.screenCtrl.state.screen.pageMode;
|
|
|
+ rootPage.value.pageSizeType =
|
|
|
+ controls.screenCtrl.state.screen.pageSizeType;
|
|
|
+
|
|
|
queenApi.dialog(
|
|
|
<PreviewDesignModal data={controls.pageCtrl.designData} />,
|
|
|
{
|