seimin 1 jaar geleden
bovenliggende
commit
2313c914ee
2 gewijzigde bestanden met toevoegingen van 6 en 5 verwijderingen
  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 3
 import router from './router'
4 4
 import './filters'
5 5
 Vue.config.productionTip = false
6
-console.info('v2.4.3');
6
+console.info('v2.4.4');
7 7
 
8 8
 import loading from './plugins/loading/loading.js';
9 9
 Vue.use(loading)

+ 5 - 4
src/views/AppIndex.vue

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