瀏覽代碼

修改图标

huangbin 4 年之前
父節點
當前提交
df21e684ce
共有 3 個文件被更改,包括 7 次插入3 次删除
  1. 0 0
      public/favicon1.ico
  2. 4 0
      src/services/request/serviceURL.ts
  3. 3 3
      src/views/account/login.vue

+ 0 - 0
src/assets/images/favicon1.ico → public/favicon1.ico


+ 4 - 0
src/services/request/serviceURL.ts

@@ -79,6 +79,7 @@ export const getUplodaUrl = (): string => {
 }
 }
 
 
 export const setServiceURL = (config: URL): void => {
 export const setServiceURL = (config: URL): void => {
+    debugger
     // console.log('URL', config);
     // console.log('URL', config);
     //外网环境(175),外包同事使用
     //外网环境(175),外包同事使用
     serviceURL = config;
     serviceURL = config;
@@ -98,6 +99,9 @@ export function handleOem() {
         wrspot = 'yrdz' // 仓单贸易
         wrspot = 'yrdz' // 仓单贸易
     }
     }
     function getOem(type: OemType) {
     function getOem(type: OemType) {
+        console.log(serviceURL);
+
+        debugger
         return serviceURL.oem === type
         return serviceURL.oem === type
     }
     }
     return { OemType, getOem }
     return { OemType, getOem }

+ 3 - 3
src/views/account/login.vue

@@ -8,13 +8,13 @@
           <div>
           <div>
 
 
             <img v-if="getOem(OemType.manager)"
             <img v-if="getOem(OemType.manager)"
-                 src="@/assets/images/wrLogo.jpg"
+                 src="@/assets/images/logo.png"
                  alt="" />
                  alt="" />
             <img v-else-if="getOem(OemType.wrspot)"
             <img v-else-if="getOem(OemType.wrspot)"
-                 src="@/assets/images/logo.png"
+                 src="@/assets/images/wrLogo.jpg"
                  alt="" />
                  alt="" />
             <img v-else
             <img v-else
-                 src="@/assets/images/wrLogo.jpg"
+                 src="@/assets/images/logo.png"
                  alt="" />
                  alt="" />
           </div>
           </div>
         </div>
         </div>