Commit 0932fb1c by lijiabin

fix: 修复测试环境图标资源路径

parent 580aa799
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<html lang=""> <html lang="">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" href="/webicon.png" /> <link rel="icon" href="/src/assets/img/webicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>企业文化平台</title> <title>企业文化平台</title>
</head> </head>
......
<script lang="tsx"> <script lang="tsx">
import { KeepAlive, Transition } from 'vue' import { KeepAlive, Transition } from 'vue'
import type { Component as VueComponent } from 'vue' import type { Component as VueComponent } from 'vue'
import webIconUrl from '@/assets/img/webicon.png'
export default defineComponent(() => { export default defineComponent(() => {
interface MenuItem { interface MenuItem {
path: string path: string
...@@ -110,7 +111,7 @@ export default defineComponent(() => { ...@@ -110,7 +111,7 @@ export default defineComponent(() => {
<div class="backend-layout"> <div class="backend-layout">
<aside class="backend-sidebar"> <aside class="backend-sidebar">
<div class="sidebar-header"> <div class="sidebar-header">
<img src="/webicon.png" alt="SOUNDASIA" class="logo" /> <img src={webIconUrl} alt="SOUNDASIA" class="logo" />
<span class="header-title">企业文化后台管理</span> <span class="header-title">企业文化后台管理</span>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment