Skip to content

Commit 83bf8d8

Browse files
committed
other: 修改跳转逻辑
1 parent 9740ead commit 83bf8d8

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/views/PluginFramework.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,23 @@ export default {
2222
mounted() {
2323
this.$refs.iframe.onload = () => {
2424
this.loading = false;
25-
if (this.title === "雨云") {
25+
if (this.title === "雨云" && this.firstLoad) {
2626
showDialog({
2727
message:
2828
'建议复制以下链接到浏览器打开\n' +
2929
'\nhttps://www.rainyun.com/aiyuyun_',
3030
confirmButtonColor: "#1989fa",
3131
confirmButtonText: "OK"
32-
})
32+
});
3333
}
34+
this.firstLoad = false;
3435
};
3536
},
3637
data() {
3738
return {
3839
loading: true,
39-
show: false
40+
show: false,
41+
firstLoad: true
4042
}
4143
}
4244
}

0 commit comments

Comments
 (0)