修改最大限制

This commit is contained in:
sijinhui 2024-06-24 18:09:58 +08:00
parent 8fe96dbf0a
commit 007c004a44
2 changed files with 3 additions and 3 deletions

View File

@ -1340,7 +1340,7 @@ function _Chat() {
title={ title={
<span style={{ color: "black" }}> <span style={{ color: "black" }}>
{localStorage.getItem("current_day_token") ?? 0}{" "} {localStorage.getItem("current_day_token") ?? 0}{" "}
<span style={{ color: "black" }}>/ 100000</span> <span style={{ color: "black" }}>/ 200000</span>
</span> </span>
} }
color={"var(--second)"} color={"var(--second)"}
@ -1350,7 +1350,7 @@ function _Chat() {
<Progress <Progress
percent={ percent={
(parseInt(localStorage.getItem("current_day_token") ?? "0") / (parseInt(localStorage.getItem("current_day_token") ?? "0") /
100000) * 200000) *
100 100
} }
size="small" size="small"

View File

@ -519,7 +519,7 @@ export const useChatStore = createPersistStore(
localStorage.getItem("current_day_token") ?? "0", localStorage.getItem("current_day_token") ?? "0",
); );
// console.log('---------', current_day_token) // console.log('---------', current_day_token)
if (current_day_token >= 100000) { if (current_day_token >= 200000) {
botMessage.content += botMessage.content +=
"\n\n" + "\n\n" +
prettyObject({ prettyObject({