From cebf64847fc69efa6dc83c0167b7fa4144b198a5 Mon Sep 17 00:00:00 2001 From: streakingman Date: Fri, 5 May 2023 00:20:14 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9C=8D=E5=8A=A1=E5=88=B0=E6=9C=9F?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++-- src/components/ConfigDialog.tsx | 6 +----- src/components/WxQrCode.tsx | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9fef83b..769d952 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,9 @@ vite+react 实现,欢迎 star、issue、pr、fork(尽量标注原仓库地 ## 资助 -由于各种白嫖的静态资源托管、后台服务的免费额度都已用完,目前自费升级了相关套餐。 -如果您喜欢这个项目,觉得本项目对你有帮助的话,可以扫描下方付款码请我喝杯咖啡 ☕️/分摊后台服务费用~ 😘 +~~由于各种白嫖的静态资源托管、后台服务的免费额度都已用完,目前自费升级了相关套餐。~~ +如果您喜欢这个项目,觉得本项目对你有帮助的话,可以扫描下方付款码请我喝杯咖啡 ☕️/~~分摊后台服务费用~~~ 😘 + +2023.5.5 更新:Bmob 服务到期,后台服务已下线,相关功能暂时无法使用,如有需要请自行搭建后台服务 ![wxQrCodes.png](wxQrCodes.png) diff --git a/src/components/ConfigDialog.tsx b/src/components/ConfigDialog.tsx index cff44b3..2058d5e 100644 --- a/src/components/ConfigDialog.tsx +++ b/src/components/ConfigDialog.tsx @@ -369,11 +369,7 @@ const ConfigDialog: FC<{ }) .catch(({ error, code }) => { setTimeout(() => { - setConfigError( - code === 10007 - ? '上传数据长度已超过bmob的限制' - : error - ); + setConfigError(error); }, 3000); }) .finally(() => { diff --git a/src/components/WxQrCode.tsx b/src/components/WxQrCode.tsx index 2b80bd6..9150548 100644 --- a/src/components/WxQrCode.tsx +++ b/src/components/WxQrCode.tsx @@ -2,7 +2,7 @@ import React, { FC, MouseEventHandler, useState } from 'react'; import style from './WxQrCode.module.scss'; import classNames from 'classnames'; const WxQrCode: FC<{ title?: string; onClick?: MouseEventHandler }> = ({ - title = '如果您喜欢这个项目的话,可以点击扫描下方收款码分担后台相关费用(或请我喝杯咖啡),感谢~😘', + title = '如果您喜欢这个项目的话,点击扫描下方收款码请我喝杯咖啡,感谢~😘', onClick, }) => { const [fullScreen, setFullScreen] = useState>({