mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-07 01:03:41 +08:00
refactor(iframe-page): remove unused lifecycle hooks and clean up script setup
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user