init
This commit is contained in:
9
admin/config/config.example.js
Normal file
9
admin/config/config.example.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* 在业务组件中使用配置的示例(按需复制到 .vue 或独立模块)
|
||||
*/
|
||||
export const exampleComponent = {
|
||||
mounted() {
|
||||
console.log('title:', this.$config.title)
|
||||
console.log('apiUrl:', this.$config.apiUrl)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user