Browse Source

更改首页链接

gcz 2 years ago
parent
commit
7497a24dff
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/components/header.vue

+ 5 - 4
src/components/header.vue

@@ -2,9 +2,9 @@
  * @Description: 
  * @Author: wangcc
  * @Date: 2022-06-14 18:11:54
- * @LastEditors: wangcc 1053578651@qq.com
- * @LastEditTime: 2022-10-30 15:53:15
- * @FilePath: \castgroup_bigscreen\src\components\header.vue
+ * @LastEditors: gcz
+ * @LastEditTime: 2022-11-01 11:33:45
+ * @FilePath: \ntbigscreen\src\components\header.vue
  * @Copyright: Copyright (c) 2016~2022 by wangcc, All Rights Reserved. 
 -->
 <!--
@@ -13,7 +13,7 @@
 <template>
     <div class="top-box">
         <div class="go_home">
-            <a href="http://castgrouptest.hw.hongweisoft.com/" target="_blank" rel="noopener noreferrer">
+            <a :href="homeLink" target="_blank" rel="noopener noreferrer">
                 <img src="../assets/img/home.png" alt="">
                 <p>返回首页</p>
             </a>
@@ -40,6 +40,7 @@ export default {
         return {
             nowTime: '',
             isFull: false,
+            homeLink:process.env.NODE_ENV === 'development' ? '//castgrouptest.hw.hongweisoft.com' : '//admin.bigdata.anthelp.top',
         };
     },
     created() {