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> {
|
||||
code: number;
|
||||
|
||||
@ -50,6 +50,7 @@ export default function Login() {
|
||||
<Input
|
||||
prefix={<IconUser />}
|
||||
placeholder="手机号"
|
||||
maxLength={11}
|
||||
style={{ height: 40 }}
|
||||
/>
|
||||
</FormItem>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user