banxia 4 týždňov pred
rodič
commit
5e1bf374b9
2 zmenil súbory, kde vykonal 5 pridanie a 4 odobranie
  1. 3 2
      electron/main/tray.ts
  2. 2 2
      src/layouts/Header/index.tsx

+ 3 - 2
electron/main/tray.ts

@@ -51,7 +51,7 @@ export const initTray = () => {
       },
     },
   ]);
-  appIcon.setToolTip("菁苗健康");
+  // appIcon.setToolTip("菁苗健康");
   appIcon.setContextMenu(contextMenu);
 
   // 服务端地址
@@ -81,7 +81,8 @@ export const initTray = () => {
     } else {
       appIcon.setImage(ICONS[`icon9plus`]);
     }
-    appIcon.setToolTip(`菁苗健康-未读消息数量(${msgCount})`);
+    appIcon.setToolTip(`未读消息数量(${msgCount})`);
+    // appIcon.setToolTip(`菁苗健康-未读消息数量(${msgCount})`);
 
     if (userObj.msg_type !== 2) {
       // 向渲染进程发送消息

+ 2 - 2
src/layouts/Header/index.tsx

@@ -96,8 +96,8 @@ const LayoutHeader = ({ isLoginPage }: { isLoginPage: boolean }) => {
     <header className="px-2 flex justify-between items-center bg-[#ffffff] h-10 drag">
       <div>
         <div className="flex items-center gap-2">
-          <img src="./logo.ico" className="w-4 h-4" alt="logo" />
-          <div>菁苗健康</div>
+          {/* <img src="./logo.ico" className="w-4 h-4" alt="logo" />
+          <div>菁苗健康</div> */}
         </div>
       </div>
       <div className="flex">