fix: API_BASE改为/pms/api,修复404问题

This commit is contained in:
12451 2026-07-02 18:10:34 +08:00
parent d16a0fc545
commit ee330cd149
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@
* - * -
*/ */
const API_BASE = import.meta.env.VITE_API_BASE || '/api'; const API_BASE = import.meta.env.VITE_API_BASE || '/pms/api';
export interface ApiResponse<T = unknown> { export interface ApiResponse<T = unknown> {
code: number; code: number;

View File

@ -50,6 +50,7 @@ export default function Login() {
<Input <Input
prefix={<IconUser />} prefix={<IconUser />}
placeholder="手机号" placeholder="手机号"
maxLength={11}
style={{ height: 40 }} style={{ height: 40 }}
/> />
</FormItem> </FormItem>