Commit 365f5696 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫
parents b7c7adfb f07114e0
import React, { useEffect, useState } from 'react'
import styles from '../index.less'
import logo from '@/asserts/logo.svg'
import logoSmall from '@/asserts/logo-small.svg'
import { observer } from 'mobx-react'
import { store } from '@/store'
import { GlobalConfig } from '@/global/config';
const { indexStore } = store
const logoEle: React.FC<{}> = () => {
......@@ -19,11 +17,11 @@ const logoEle: React.FC<{}> = () => {
<p>
{
showSmall ?
<img src={logoSmall} alt="瓴犀"/>
<img src={GlobalConfig.site.siteInfo.logo} alt="瓴犀"/>
:
<>
<img src={logo} alt="瓴犀"/>
<span>平台后台</span>
<img src={GlobalConfig.site.siteInfo.logo} alt="瓴犀"/>
<span>{GlobalConfig.site.siteInfo.name}</span>
</>
}
</p>
......
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