/** * 在业务组件中使用配置的示例(按需复制到 .vue 或独立模块) */ export const exampleComponent = { mounted() { console.log('title:', this.$config.title) console.log('apiUrl:', this.$config.apiUrl) } }