+
+ 默认 0 = 该 API Key 不可使用虚拟素材库功能。项目数或素材数任一上限 > 0 即启用(存储空间不再设置上限)。
+
+
+
+
+ 项目数上限
+ 已使用 {vpV3Quota.projectUsed || 0} / {vpV3Quota.projectLimit || 0}
+
+
setVpV3Quota(q => ({ ...q, projectLimit: Number(v) || 0 }))}
+ addonBefore="上限" addonAfter="个"
+ />
+
+
+
+ 素材数上限
+ 已使用 {vpV3Quota.assetUsed || 0} / {vpV3Quota.assetLimit || 0}
+
+
setVpV3Quota(q => ({ ...q, assetLimit: Number(v) || 0 }))}
+ addonBefore="上限" addonAfter="张"
+ />
+
+
+ {vpV3Quota.storageMbUsed > 0 && (
+
+ 已使用存储空间:{Number(vpV3Quota.storageMbUsed || 0).toFixed(2)} MB(无上限限制,仅供参考)
+
+ )}
+
+ 备注(仅后台可见):
+ setVpV3Quota(q => ({ ...q, remark: e.target.value || null }))}
+ style={{ marginTop: 4 }}
+ />
+
+
+ >
+ )}
+