forked from github/dataease
11 lines
198 B
JavaScript
11 lines
198 B
JavaScript
import store from '@/store'
|
|
export class ApplicationContext {
|
|
static getService(name) {
|
|
if (!name) {
|
|
return null
|
|
}
|
|
const bean = store.getters.beanMap[name]
|
|
return bean
|
|
}
|
|
}
|