ソースを参照

文本分析工具如果从eep过来的隐藏返回按钮

natasha 2 週間 前
コミット
46880b84b4
4 ファイル変更5 行追加4 行削除
  1. BIN
      public/home_logo.png
  2. 1 1
      public/index.html
  3. 2 2
      src/settings.js
  4. 2 1
      src/views/Textanalysis/index.vue

BIN
public/home_logo.png


+ 1 - 1
public/index.html

@@ -11,7 +11,7 @@
     <link rel="preload" href="https://file-kf.helxsoft.cn/CSFileServer/URL/003/99CF08C241EA29498978EA80A3CCB7B399991231240000FUGE90VIBFVZVV8WG7F0N6SIUQBYTXXAFSLCABPA_00301-20230131-10-XI8JE4B2.TTF" as="font" type="font/ttf" crossorigin="anonymous">
     <link rel="preload" href="https://file-kf.helxsoft.cn/CSFileServer/URL/001/C94319C15F2CCAC1D7E52B47147C10F199991231240000FM96BUVEGNN5UKTVFPAWGBVNVJ8VFDSVB1XPLGPC_00101-20230131-10-MT9ILQEX.TTF" as="font" type="font/ttf" crossorigin="anonymous">
     <link rel="preload" href="https://file-kf.helxsoft.cn/CSFileServer/URL/001/B89A18DBD51991ACB45D2989689F4C0A99991231240000G9V0VL82FMSBBMXKLFPLFM9RBMVPGHNHUOTYFTAD_00101-20230130-18-Z0TABOBO.TTF" as="font" type="font/ttf" crossorigin="anonymous"> -->
-    <!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico"> -->
+    <link rel="icon" type="image/png" href="home_logo.png">
     <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
     <title><%= htmlWebpackPlugin.options.title %></title>
   </head>

+ 2 - 2
src/settings.js

@@ -1,5 +1,4 @@
 const Cookies = require("js-cookie");
-console.log(Cookies);
 let title = ''
 let config = Cookies.get('GCLS_Config')
 if (config) {
@@ -11,8 +10,9 @@ if (config) {
     link.rel = 'shortcut icon';
     link.href = configObj.title_icon_url;
     document.getElementsByTagName('head')[0].appendChild(link);
+} else {
+  title = '智慧梧桐文本分析工具'
 }
-console.log(title);
 module.exports = {
     title: title,
 

+ 2 - 1
src/views/Textanalysis/index.vue

@@ -6,7 +6,7 @@
     <div class="main">
       <div>
         <div v-loading="LeftLoading" class="left">
-          <a v-if="!userID" class="go-back" @click="goBack">
+          <a v-if="!userID && !fromEEP" class="go-back" @click="goBack">
             <i class="el-icon-arrow-left"></i>
             返回
           </a>
@@ -1034,6 +1034,7 @@ export default {
       routerData: null,
       id: null,
       userID: this.$route.query.userID || this.$route.query.UserID,
+      fromEEP: this.$route.query.fromEEP,
       AccessToken: this.$route.query.AccessToken,
       AppID: this.$route.query.AppID,
       cixing: false, // 词性开关