我的次数 -> 剩余次数
Browse files
web/src/app/image/components/image-composer.tsx
CHANGED
|
@@ -313,7 +313,7 @@ export function ImageComposer({
|
|
| 313 |
</div>
|
| 314 |
{keyQuota && keyQuota.image_quota > 0 ? (
|
| 315 |
<div className="shrink-0 rounded-full bg-stone-100 px-2 py-1 text-[10px] font-medium text-stone-600 sm:px-3 sm:py-2 sm:text-xs">
|
| 316 |
-
<span className="hidden sm:inline">
|
| 317 |
</div>
|
| 318 |
) : null}
|
| 319 |
{activeTaskCount > 0 && (
|
|
|
|
| 313 |
</div>
|
| 314 |
{keyQuota && keyQuota.image_quota > 0 ? (
|
| 315 |
<div className="shrink-0 rounded-full bg-stone-100 px-2 py-1 text-[10px] font-medium text-stone-600 sm:px-3 sm:py-2 sm:text-xs">
|
| 316 |
+
<span className="hidden sm:inline">剩余次数 </span>{Math.max(0, keyQuota.image_quota - keyQuota.image_used)} / {keyQuota.image_quota}
|
| 317 |
</div>
|
| 318 |
) : null}
|
| 319 |
{activeTaskCount > 0 && (
|