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/vm/base.js.vm

12 lines
419 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.

// 定义 base 对象,用于存储基础配置信息(如 API 地址、模块名称)
const base = {
// url当前模块的请求基础地址使用 schemaname 动态替换模块名
url : "http://localhost:8080/${schemaname}/",
// name当前模块的名称同样由 schemaname 变量动态填充
name: "${schemaname}"
}
// 导出 base 对象,供其他组件或模块引用
export default base