提交 c3bc2f86 编写于 作者: 雪洛's avatar 雪洛

fix: maxTokenLength config

上级 75fe442e
...@@ -224,7 +224,7 @@ export default class TokenUtils { ...@@ -224,7 +224,7 @@ export default class TokenUtils {
tokenList.push(token) tokenList.push(token)
if (tokenList.length > maxTokenLength) { if (tokenList.length > maxTokenLength) {
tokenList.splice(0, tokenList.length - 10) tokenList.splice(0, tokenList.length - maxTokenLength)
} }
await this.updateUserRecord({ await this.updateUserRecord({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册