Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
vue-flow-editor
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-02-21 15:42:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3bda2383152a6d3d08c14300c28a6385ecae14d9
3bda2383
1 parent
d1f831ce
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
doc/App.vue
doc/App.vue
View file @
3bda238
...
...
@@ -511,8 +511,8 @@
direction="btt"
size="90%"
append-to-body
@closed="handleDrawerClosed"
>
<!-- <div class="preview-container" :style="{height: state.window_height}"> -->
<div class="preview-container">
<vue-flow-editor-form
ref="editor1"
...
...
@@ -531,9 +531,6 @@
<div class="preview-detail-container">
<iframe :src="state.preview_form_url" width="100%" height="100%" style="border: 0;"></iframe>
</div>
<!-- <div>
<el-button color="#009688" @click="state.dialogPreviewVisible = false">关闭</el-button>
</div> -->
</el-drawer>
</template>
...
...
@@ -2333,6 +2330,10 @@ export default {
state.preview_form_url = null;
}
const handleDrawerClosed = () => {
state.preview_form_url = null;
}
return {
state,
rules,
...
...
@@ -2393,6 +2394,7 @@ export default {
openPreview,
onClickNodePreview,
onClickCanvasPreview,
handleDrawerClosed,
onRef: (e: any) => (editor = e),
staticPath,
...
...
Please
register
or
login
to post a comment