From 50b49c1b760489c3430fc382656d57c5fbbab07c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 29 四月 2024 16:07:24 +0800
Subject: [PATCH] 2024-04-29

---
 src/views/systemfunc/header/index.jsx |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/views/systemfunc/header/index.jsx b/src/views/systemfunc/header/index.jsx
index c146a84..03f2dfc 100644
--- a/src/views/systemfunc/header/index.jsx
+++ b/src/views/systemfunc/header/index.jsx
@@ -8,14 +8,11 @@
   state = {
     userName: sessionStorage.getItem('CloudUserName'),
     avatar: sessionStorage.getItem('CloudAvatar') || avatar,
+    logo: sessionStorage.getItem('CloudLogo') || MainLogo
   }
 
   exitManage = () => {
     window.close()
-  }
-
-  UNSAFE_componentWillMount () {
-
   }
 
   /**
@@ -28,9 +25,11 @@
   }
 
   render () {
+    const { logo } = this.state
+
     return (
       <header className="sys-header-container ant-menu-dark">
-        <div className="header-logo"><img src={MainLogo} alt=""/></div>
+        <div className="header-logo"><img src={logo} alt=""/></div>
         <div className="title">HS</div>
         <div className="header-setting">
           <img src={this.state.avatar} alt=""/>

--
Gitblit v1.8.0