mirror of
https://gitee.com/was666/as-editor.git
synced 2026-01-29 00:02:43 +08:00
feat: 更新 预览地址
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
ref="iframe"
|
ref="iframe"
|
||||||
class="screen"
|
class="screen"
|
||||||
:scrolling="false"
|
:scrolling="false"
|
||||||
:src="'http://was666.gitee.io/as-editor-h5/#/?type=iframe'"
|
:src="'https://qiniu-plat.juroom.cn/h5/index.html#/?type=iframe'"
|
||||||
@load="load"
|
@load="load"
|
||||||
></iframe>
|
></iframe>
|
||||||
<van-loading v-if="loading" size="24px" vertical>加载中</van-loading>
|
<van-loading v-if="loading" size="24px" vertical>加载中</van-loading>
|
||||||
@@ -32,7 +32,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
load() {
|
load() {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.$refs["iframe"].contentWindow.postMessage(this.val, "http://was666.gitee.io");
|
this.$refs["iframe"].contentWindow.postMessage(this.val, "https://qiniu-plat.juroom.cn");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user