Merge pull request #100 from songquanpeng/main

Fork Sync: Update from parent repository
This commit is contained in:
quzard 2023-07-02 17:16:01 +08:00 committed by GitHub
commit f7d9425a49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ const EditToken = () => {
const [loading, setLoading] = useState(isEdit); const [loading, setLoading] = useState(isEdit);
const originInputs = { const originInputs = {
name: '', name: '',
remain_quota: 0, remain_quota: isEdit ? 0 : 500000,
expired_time: -1, expired_time: -1,
unlimited_quota: false unlimited_quota: false
}; };