From 25c39b73c5bb8580d79648e430c2700f39810bd8 Mon Sep 17 00:00:00 2001
From: Dawn <2439646234@qq.com>
Date: Sat, 8 Feb 2025 18:01:35 +0800
Subject: [PATCH] =?UTF-8?q?perf(common):=20:zap:=20=E4=BC=98=E5=8C=96?=
=?UTF-8?q?=E5=9B=BE=E7=89=87=E6=9F=A5=E7=9C=8B=E5=99=A8=E5=92=8C=E8=AF=B7?=
=?UTF-8?q?=E6=B1=82=E9=87=8D=E8=AF=95=E6=8A=A5=E9=94=99=E6=9C=BA=E5=88=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
增加赞助者名单
---
.env.production | 2 +-
README.en.md | 15 ++
README.md | 17 +-
package.json | 2 +-
src/common/exception.ts | 13 +-
.../rightBox/renderMessage/Image.vue | 108 ++++++++--
src/hooks/useLogin.ts | 11 +-
src/layout/left/config.tsx | 42 ++--
src/layout/left/style.scss | 4 +
src/services/apis.ts | 15 +-
src/services/http.ts | 17 +-
src/services/request.ts | 12 +-
src/stores/imageViewer.ts | 21 +-
src/styles/scss/chat-main.scss | 2 +-
src/styles/scss/theme/default.scss | 8 +-
src/styles/scss/theme/simple.scss | 8 +-
src/utils/Formatting.ts | 28 ---
src/views/imageViewerWindow/index.vue | 193 ++++++++++--------
src/views/loginWindow/Login.vue | 2 +-
src/views/onlineStatusWindow/index.vue | 6 +-
20 files changed, 341 insertions(+), 185 deletions(-)
diff --git a/.env.production b/.env.production
index a6a9b640..a7e44193 100644
--- a/.env.production
+++ b/.env.production
@@ -1,5 +1,5 @@
# 后端服务地址
-VITE_SERVICE_URL="https://hulaspark.com/api/"
+VITE_SERVICE_URL="https://hulaspark.com/api"
# websocket服务地址
VITE_WEBSOCKET_URL="wss://hulaspark.com/websocket"
# 项目标题
diff --git a/README.en.md b/README.en.md
index e1f453f3..f3698ae3 100644
--- a/README.en.md
+++ b/README.en.md
@@ -139,5 +139,20 @@ If you think HuLa is helpful to you, welcome to sponsor HuLa. Your support is ou
## HuLa Community discussion groups
+## List of sponsors
+Thanks to the following sponsors for their support!
+
+| Date | Sponsor | Sum | Platform |
+|------|--------|------|------|
+| 2025-02-8 | 邓伟 | ¥88 | 微信赞赏码 |
+| 2025-02-8 | Boom.... | ¥100 | 微信赞赏码 |
+| 2025-02-7 | dennis | ¥80 | gitee码云赞赏 |
+| 2025-02-6 | 小二 | ¥62 | 微信转账 |
+
+> Note: This list is manually updated. If you have sponsored but are not displayed in the list, please contact us by:
+ 1. Submit Issue on GitHub
+ 2. Send an email to: 2439646234@qq.com
+ 3. Contact via WeChat: cy2439646234
+
## License
[](https://app.fossa.com/projects/git%2Bgithub.com%2FHuLaSpark%2FHuLa?ref=badge_large)
diff --git a/README.md b/README.md
index b17187af..4937016a 100644
--- a/README.md
+++ b/README.md
@@ -104,7 +104,7 @@ pnpm run tauri:build
网页上下载安装包会提示安装包已损坏,可能会遇到证书问题,这是因为 macOS 系统的安全机制导致的。请按照以下步骤解决:
-#### 1. 打开 “系统设置” - “安全性与隐私”,如图勾选:允许 “任何来源” 下载的 App 运行:
+#### 1. 打开 "系统设置" - "安全性与隐私",如图勾选:允许 "任何来源" 下载的 App 运行:
@@ -139,5 +139,20 @@ sudo xattr -rd com.apple.quarantine 你的安装包路径/HuLa.app
## HuLa社区讨论群
+## 赞助者名单
+感谢以下赞助者的支持!
+
+| 日期 | 赞助者 | 金额 | 平台 |
+|------|--------|------|------|
+| 2025-02-8 | 邓伟 | ¥88 | 微信赞赏码 |
+| 2025-02-8 | Boom.... | ¥100 | 微信赞赏码 |
+| 2025-02-7 | dennis | ¥80 | gitee码云赞赏 |
+| 2025-02-6 | 小二 | ¥62 | 微信转账 |
+
+> 注:该名单为手动更新。如果您已赞助但未显示在列表中,请通过以下方式联系我们:
+ 1. 在GitHub上提交Issue
+ 2. 发送邮件至: 2439646234@qq.com
+ 3. 通过微信联系: cy2439646234
+
## 许可证
[](https://app.fossa.com/projects/git%2Bgithub.com%2FHuLaSpark%2FHuLa?ref=badge_large)
diff --git a/package.json b/package.json
index fa1c5289..c20a56a5 100644
--- a/package.json
+++ b/package.json
@@ -43,7 +43,7 @@
"========= 校验代码规范 =========": "",
"lint:staged": "lint-staged && vue-tsc --noEmit",
"========= 安装husky =========": "",
- "prepare": "husky install",
+ "prepare": "husky",
"========= 发版 =========": "",
"release": "release-it",
"========= commit后再次添加修改到上一次的commit =========": "",
diff --git a/src/common/exception.ts b/src/common/exception.ts
index cfe386a7..9969ef77 100644
--- a/src/common/exception.ts
+++ b/src/common/exception.ts
@@ -11,12 +11,15 @@ export interface ErrorDetails {
type: ErrorType
code?: number
details?: Record