Commit Graph

22 Commits

Author SHA1 Message Date
CalciumIon
620f9f19b1 fix: validate number input in renderQuotaNumberWithDigit and improve data handling in Detail page
- Added input validation to ensure that the `num` parameter in `renderQuotaNumberWithDigit` is a valid number, returning 0 for invalid inputs.
- Updated the `Detail` component to use `datum['rawQuota']` instead of `datum['Usage']` for rendering quota values, ensuring more accurate data representation.
- Enhanced data aggregation logic to handle cases where quota values may be missing or invalid, improving overall data integrity in charts and tables.
- Removed unnecessary time granularity calculations and streamlined the data processing for better performance.
2024-12-25 23:16:35 +08:00
CalciumIon
78ffd8d294 feat: 优化日志查初始时间 2024-08-01 17:36:26 +08:00
CalciumIon
28397c5d82 fix: 修复nginx缓存导致串用户问题 2024-07-19 13:39:05 +08:00
1808837298@qq.com
f723ff9ba0 feat: 增加重置模型倍率功能 (close #62) 2024-05-24 15:28:16 +08:00
QuentinHsu
8de14b00b8 refactor: 运营设置-通用设置 2024-05-09 17:01:55 +08:00
CaIon
eb955ae4b1 chore: lint fix 2024-03-23 21:24:39 +08:00
CaIon
fe148d175e perf: 数据看板支持选择时间粒度 2024-01-13 00:33:52 +08:00
CaIon
dd0abc9447 feat: 新增数据看板 2024-01-07 18:31:14 +08:00
CaIon
767c7e3e3d 登录页完善 2023-11-07 23:32:43 +08:00
CaIon
607358c969 完善令牌界面 2023-10-31 22:41:34 +08:00
CaIon
eec9046c3a 更换前端组件库 2023-10-31 00:03:22 +08:00
CaIon
ba7e6324d3 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	README.md
#	go.mod
#	go.sum
#	model/log.go
#	web/src/App.js
#	web/src/components/ChannelsTable.js
2023-10-16 17:31:26 +08:00
JustSong
f6811a11a9 chore: show prompt to let the user know 2023-10-14 16:32:01 +08:00
CaIon
06fc41d9a0 feat: add midjourney log 2023-09-12 03:17:26 +08:00
Yolo°
f9c3f3761e feat: improve frontend (#387)
* fork

* fork

* chore: update style

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-12 10:49:30 +08:00
JustSong
6eb288260d feat: able to customize system name & logo now 2023-05-14 19:29:02 +08:00
JustSong
049a6def02 feat: able to configure ratio for more models now (close #53) 2023-05-11 20:59:35 +08:00
JustSong
863d8424b3 feat: download redemption codes as file (#12) 2023-04-26 17:13:08 +08:00
JustSong
f3ebe46076 feat: redirect to login page if login expired (close #18) 2023-04-26 11:42:56 +08:00
JustSong
67ece62ff2 fix: copy token to search input if clipboard.writeText is not available (close #6) 2023-04-25 09:46:58 +08:00
JustSong
9ca6adf4a1 Able to manage token now 2023-04-23 12:43:10 +08:00
JustSong
4cbef0780e Initial commit 2023-04-22 20:39:27 +08:00