Skip to content

Commit a659d83

Browse files
committed
iframe
1 parent 5fc28f1 commit a659d83

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

src/components/CValueDialog/CValueDialog.vue

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
<template>
22
<q-dialog full-width full-height
33
ref="dialog" @hide="onDialogHide" persistent>
4-
<q-card class="q-dialog-plugin" style="height: 600px;">
5-
<q-card-actions align="center">
4+
<q-card class="q-dialog-plugin" >
5+
<q-card-section style="height: 90%">
6+
<iframe
7+
id="extIframe"
8+
ref="extIframe"
9+
frameborder="0"
10+
scrolling="no"
11+
:src="columnExtProperty.url"
12+
allowfullscreen="true" style="width: 100%;height: 100%;">
13+
<p>您的浏览器不支持iframes,请使用chrome浏览器.</p >
14+
</iframe>
15+
</q-card-section>
16+
17+
<q-card-actions align="center" style="height: 10%">
618
<q-btn color="primary" label="确定" unelevated no-caps @click="onOKClick" />
719
<q-btn color="negative" label="取消" unelevated no-caps @click="onCancelClick" />
820
</q-card-actions>
9-
<iframe
10-
id="extIframe"
11-
ref="extIframe"
12-
frameborder="0"
13-
scrolling="no"
14-
:src="columnExtProperty.url"
15-
allowfullscreen="true" style="width: 100%;height: 100%;">
16-
<p>您的浏览器不支持iframes,请使用chrome浏览器.</p >
17-
</iframe>
1821
</q-card>
1922
</q-dialog>
2023
</template>

0 commit comments

Comments
 (0)