liyongli 1 an în urmă
părinte
comite
810aee10d5
2 a modificat fișierele cu 10 adăugiri și 4 ștergeri
  1. 1 1
      src/view/allMedia/main.vue
  2. 9 3
      src/view/ortherPage/index.vue

+ 1 - 1
src/view/allMedia/main.vue

@@ -76,7 +76,7 @@ const menu = [
     path: '/main_home/qh',
   },
   {
-    title: 'AI写作',
+    title: 'AI+写作',
     icon: 'icon-ai-chat',
     path: '/main_home/AIeditor',
   },

+ 9 - 3
src/view/ortherPage/index.vue

@@ -1,15 +1,21 @@
 <template>
-    <object
+    <!-- <object
       :data="route.query.path || 'https://aidoc.sxtvs.net'" 
       style="height:100%;height: 100%;"
       type="text/html"
-    ></object>
+    ></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');
 </script>
 
-<style scoped></style>
+<style>
+.el-empty__image{
+    margin: 0 auto;
+}
+</style>