فهرست منبع

新增icon图片

lichao 3 سال پیش
والد
کامیت
64932c79ea
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      public/index.html
  2. 1 1
      src/views/login.vue

+ 1 - 1
public/index.html

@@ -8,7 +8,7 @@
     <link rel="icon" href="<%= BASE_URL %>favicon.ico">
     <title><%= webpackConfig.name %></title>
     <script>
-      if (document.domain.includes('wms')) {
+      if (document.domain.includes('wms') || document.domain.includes('daohe')) {
         let Link = document.getElementsByTagName('link')[0]
         Link.href = `<%= BASE_URL %>favicon3.ico`
       }

+ 1 - 1
src/views/login.vue

@@ -110,7 +110,7 @@ export default {
     this.getCode();
     this.getCookie();
     const host = document.domain;
-    this.test = host.includes('wms');
+    this.test = host.includes('wms') || host.includes('daohe');
     Cookies.set('test', this.test? 0: 1);
   },
   methods: {