fix: API_BASE改为/pms/api,修复404问题
This commit is contained in:
parent
d16a0fc545
commit
ee330cd149
@ -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;
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user