forked from mevulfmp3/web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
474 B
28 lines
474 B
<template>
|
|
<iframe :src="path"></iframe>
|
|
</template>
|
|
|
|
<script setup>
|
|
import {onMounted, ref} from 'vue'
|
|
import {useRouter, useRoute} from 'vue-router'
|
|
|
|
// const path = ref("https://cn.vuejs.org")
|
|
const path = ref("#/pure/")
|
|
const route = useRoute();
|
|
const query = route.params.page
|
|
|
|
path.value += query
|
|
</script>
|
|
|
|
<style scoped>
|
|
iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 0;
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #fff;
|
|
}
|
|
</style>
|