Update MicUploadPage.jsx via upload script - 2026-09-21 01:16:34

This commit is contained in:
mike 2026-09-21 01:16:44 +08:00
parent d58c0cc1f4
commit ff9a078cd9
1 changed files with 10 additions and 3 deletions

View File

@ -510,9 +510,16 @@ export function MicUploadPage({ products = [], productCategories = [] }) {
)} )}
{phase === 'ready' && ( {phase === 'ready' && (
<button className="btn-primary" disabled={busy || !selectedProductId} onClick={handleFill}> <>
<button className="btn-primary" disabled={busy} onClick={handleFill}>
{busy ? '正在填写...' : '开始自动填写'} {busy ? '正在填写...' : '开始自动填写'}
</button> </button>
{!selectedProductId && (
<div style={{ fontSize: 11, color: 'var(--ink-soft, #888)' }}>
提示:先在上面的列表里点选一个产品(不是只搜索),选中后这里才会真正开始填写。
</div>
)}
</>
)} )}
{phase === 'filled' && ( {phase === 'filled' && (