mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
28 lines
471 B
Vue
28 lines
471 B
Vue
<script setup lang="ts">
|
|
import { onActivated, onMounted } from 'vue';
|
|
|
|
interface Props {
|
|
url: string;
|
|
}
|
|
|
|
defineProps<Props>();
|
|
|
|
onMounted(() => {
|
|
// eslint-disable-next-line no-console
|
|
console.log('mounted');
|
|
});
|
|
|
|
onActivated(() => {
|
|
// eslint-disable-next-line no-console
|
|
console.log('activated');
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<div class="h-full">
|
|
<iframe id="iframePage" class="size-full" :src="url"></iframe>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped></style>
|