|
@@ -1,15 +1,21 @@
|
|
<template>
|
|
<template>
|
|
- <object
|
|
|
|
|
|
+ <!-- <object
|
|
:data="route.query.path || 'https://aidoc.sxtvs.net'"
|
|
:data="route.query.path || 'https://aidoc.sxtvs.net'"
|
|
style="height:100%;height: 100%;"
|
|
style="height:100%;height: 100%;"
|
|
type="text/html"
|
|
type="text/html"
|
|
- ></object>
|
|
|
|
|
|
+ ></object> -->
|
|
<!-- <iframe :src="route.query.path" frameborder="0"></iframe> -->
|
|
<!-- <iframe :src="route.query.path" frameborder="0"></iframe> -->
|
|
|
|
+ <el-empty description="已在新页面打开" class="empty" />
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
import { useRoute } from 'vue-router';
|
|
import { useRoute } from 'vue-router';
|
|
const route = useRoute();
|
|
const route = useRoute();
|
|
|
|
+window.open(route.query.path || 'https://aidoc.sxtvs.net');
|
|
</script>
|
|
</script>
|
|
|
|
|
|
-<style scoped></style>
|
|
|
|
|
|
+<style>
|
|
|
|
+.el-empty__image{
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+}
|
|
|
|
+</style>
|