Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangao authored and zhangao committed Aug 25, 2023
1 parent 51adfa5 commit baf7ffd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions src/resource/alist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ export default {
const iframeSrc = ref(''); // 初始的 iframe URL
onMounted(() => {
setTimeout(() => {
iframeSrc.value = 'http://127.0.0.1:5244/';
}, 5000);
const iframe = iframeRef.value;
// setTimeout(() => {
// iframeSrc.value = 'http://127.0.0.1:5244/'
// }, 3000)
const iframe = iframeRef.value
if (iframe) {
const intervalId = setInterval(() => {
iframeSrc.value = ''
iframeSrc.value = 'http://127.0.0.1:5244/'
// @ts-ignore
iframe.addEventListener('load', () => {
// @ts-ignore
Expand Down Expand Up @@ -56,6 +58,6 @@ export default {
<style scoped>
.custom-webview {
width: 100%;
height: 1000px;
height: 800px;
}
</style>
2 changes: 1 addition & 1 deletion src/resource/vipInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default defineComponent({
<div class="container1">
<div class="content-text3">
<div class="image-container2">
<img src="/images/sales.png" alt="公众号">
<img src="/images/sales1.png" alt="公众号">
</div>
</div>
</div>
Expand Down

0 comments on commit baf7ffd

Please sign in to comment.