seimin 1 year ago
parent
commit
2313c914ee
2 changed files with 6 additions and 5 deletions
  1. 1 1
      src/main.js
  2. 5 4
      src/views/AppIndex.vue

+ 1 - 1
src/main.js

@@ -3,7 +3,7 @@ import App from './App.vue'
3
 import router from './router'
3
 import router from './router'
4
 import './filters'
4
 import './filters'
5
 Vue.config.productionTip = false
5
 Vue.config.productionTip = false
6
-console.info('v2.4.3');
6
+console.info('v2.4.4');
7
 
7
 
8
 import loading from './plugins/loading/loading.js';
8
 import loading from './plugins/loading/loading.js';
9
 Vue.use(loading)
9
 Vue.use(loading)

+ 5 - 4
src/views/AppIndex.vue

@@ -1485,8 +1485,9 @@ export default {
1485
       get("/auth/getSysNameAndLogo")
1485
       get("/auth/getSysNameAndLogo")
1486
         .then((result) => {
1486
         .then((result) => {
1487
           this.logoTitle = result.sysName || '';
1487
           this.logoTitle = result.sysName || '';
1488
-          this.logoUrl = result.logo || '';
1489
-          document.querySelector('#favicon').href = result.favicon || '';
1488
+          this.logoUrl = location.origin + '/file' + result.logo || '';
1489
+          let faviconUrl = location.origin + '/file' + result.favicon || '';
1490
+          document.querySelector('#favicon').href = faviconUrl;
1490
           document.title = this.logoTitle
1491
           document.title = this.logoTitle
1491
         })
1492
         })
1492
     }
1493
     }
@@ -1816,7 +1817,7 @@ export default {
1816
     display: flex;
1817
     display: flex;
1817
     .specimen-logo {
1818
     .specimen-logo {
1818
       width: 221px;
1819
       width: 221px;
1819
-      background-color: #0f2e3b;
1820
+      background-color: #fff;
1820
       display: flex;
1821
       display: flex;
1821
       flex-direction: column;
1822
       flex-direction: column;
1822
       justify-content: center;
1823
       justify-content: center;
@@ -1827,7 +1828,7 @@ export default {
1827
       }
1828
       }
1828
       .pharmacy-logo__name {
1829
       .pharmacy-logo__name {
1829
         font-size: 14px;
1830
         font-size: 14px;
1830
-        color: #fff;
1831
+        color: #49b856;
1831
         margin-bottom: 0;
1832
         margin-bottom: 0;
1832
         margin-top: 8px;
1833
         margin-top: 8px;
1833
       }
1834
       }