<template>
    <!-- <object
      :data="route.query.path || 'https://aidoc.sxtvs.net'" 
      style="height:100%;height: 100%;"
      type="text/html"
    ></object> -->
    <!-- <iframe :src="route.query.path" frameborder="0"></iframe> -->
    <el-empty description="已在新页面打开" class="empty" />
</template>

<script setup>
import { useRoute } from 'vue-router';
const route = useRoute();
window.open(route.query.path || 'https://aidoc.sxtvs.net/newdoc');
</script>

<style>
.el-empty__image{
    margin: 0 auto;
}
</style>
