第7项:按路由加载页面并核验登录和开单冷启动预算

This commit is contained in:
黄健铭 committed 2026-12-05 08:38:39 -08:00
1 parent 2a4fb47227
commit 37943ecafe
71 files changed
+1250 -454

No files matched your search

@@ -2,9 +2,8 @@ import { useRef, useState } from 'react';
import { Alert, Button, Card, Form, Input, Select, Typography, type InputRef } from 'antd';
import { ArrowRightOutlined, LockOutlined, UserOutlined } from '@ant-design/icons';
import { BrandMark } from '../../components/BrandMark';
import { modeLabel } from '../../lib/format';
import type { LedgerClient } from '../../lib/api';
import { demoLogin, login, setup, shopName, type SetupInput } from '../../lib/session';
import { demoLogin, login, modeLabel, setup, shopName, type SetupInput } from '../../lib/session';
import type { SessionInfo } from '../../shared';
// 登录页:与旧界面相同的三种入口——演示模式一键进入、试用空库初始化、员工下拉加密码登录。