const base = { // 定义一个名为 base 的对象,用于存储基础配置方法 get() { // 定义 get 方法,返回基础配置信息 return { // 返回一个包含基础配置的对象 url: "http://localhost:8080/springboot08hr3/", // 后端服务的基础 URL 地址 name: "springboot08hr3", // 项目的名称或标识符 // 退出到首页链接 indexUrl: 'http://localhost:8080/springboot08hr3/front/index.html' // 前端首页的 URL,用于用户退出登录后跳转 }; }, getProjectName() { // 定义 getProjectName 方法,返回项目名称 return { // 返回一个包含项目名称的对象 projectName: "房屋租赁系统" // 项目的中文名称 }; } }; export default base; // 导出 base 对象,供其他模块使用