JeecgBoot 前端如何开启 Mock

  1. .env.development
VITE_GLOB_API_URL=/jeecgboot/mock
  1. src/settings/projectSetting.ts
permissionMode: PermissionModeEnum.ROUTE_MAPPING,
  1. 接口参考 mock/sys/user.ts
  2. 菜单参考 mock/sys/menu.ts
posted @ 2024-10-27 15:34  下一个彭于晏  阅读(22)  评论(0编辑  收藏  举报