You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
house/fount/utils/base.js

17 lines
855 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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 对象,供其他模块使用