第6项:统一业务控件、主题与移动布局,保留原生输入和焦点契约
This commit is contained in:
1 parent
ff8b05973a
commit
2a4fb47227
77 files changed
+3609
-2451
No files matched your search
@@ -3,6 +3,7 @@ import type { LedgerClient } from '../../lib/api';
|
||||
import { Calc, type MemberRow } from '../../shared';
|
||||
import { Choice, Field } from './controls';
|
||||
import { errorText, memberOptions, readForm, type Shop, type Notice } from './settingsModel';
|
||||
import { LedgerButton } from '../../components/BusinessControls';
|
||||
|
||||
function shopValues(shop: Shop, today: string) {
|
||||
const month = today.slice(0, 7);
|
||||
@@ -202,9 +203,9 @@ export function ShopForm({
|
||||
{error}
|
||||
</div>
|
||||
<div className="form-actions">
|
||||
<button className="primary" type="submit" disabled={busy || client.busy || !!client.pending()}>
|
||||
<LedgerButton className="primary" type="submit" disabled={busy || client.busy || !!client.pending()}>
|
||||
保存店铺配置
|
||||
</button>
|
||||
</LedgerButton>
|
||||
</div>
|
||||
</form>
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user