Initial commit

This commit is contained in:
南宁网宿科技
2023-06-03 23:57:39 +08:00
commit 13bed2bafb
1017 changed files with 175796 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
<template>
<iframe :src="url" class="ele-admin-iframe"></iframe>
</template>
<script lang="ts" setup>
import { ref, watch, unref } from 'vue';
import { useRouter } from 'vue-router';
import { setPageTab } from '@/utils/page-tab-util';
const { currentRoute } = useRouter();
const url = ref<any>('');
watch(
currentRoute,
(route) => {
const { fullPath, query } = unref(route);
url.value = query.url;
setPageTab({
fullPath: fullPath,
title: query.title || '无标题'
});
},
{ immediate: true }
);
</script>