mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-19 03:47:26 +00:00
feat: EditTokenModal 中针对用户创建的 token 默认无限额度
This commit is contained in:
@@ -66,9 +66,9 @@ const EditTokenModal = (props) => {
|
|||||||
|
|
||||||
const getInitValues = () => ({
|
const getInitValues = () => ({
|
||||||
name: '',
|
name: '',
|
||||||
remain_quota: 500000,
|
remain_quota: 0,
|
||||||
expired_time: -1,
|
expired_time: -1,
|
||||||
unlimited_quota: false,
|
unlimited_quota: true,
|
||||||
model_limits_enabled: false,
|
model_limits_enabled: false,
|
||||||
model_limits: [],
|
model_limits: [],
|
||||||
allow_ips: '',
|
allow_ips: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user