mirror of
https://github.com/dataease/dataease.git
synced 2025-02-27 05:33:08 +08:00
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
|
|
}
|
|
}
|