refactor(iframe-page): remove unused lifecycle hooks and clean up script setup
This commit is contained in:
parent
7d84062e2c
commit
276d836c87
@ -1,19 +1,9 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onActivated, onMounted } from 'vue';
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
url: string;
|
url: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
defineProps<Props>();
|
defineProps<Props>();
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
console.log('mounted');
|
|
||||||
});
|
|
||||||
|
|
||||||
onActivated(() => {
|
|
||||||
console.log('activated');
|
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
Loading…
Reference in New Issue
Block a user