This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
|
import {HTTP} from './http-common'
|
|
|
|
export default {
|
|
config: null,
|
|
|
|
getConfig() {
|
|
return this.config
|
|
},
|
|
|
|
initConfig() {
|
|
return HTTP.get('info')
|
|
.then(r => {
|
|
this.config = r.data
|
|
})
|
|
}
|
|
} |