11 lines
269 B
TypeScript
11 lines
269 B
TypeScript
import { useAppProviderContext } from '@jeesite/core/components/Application';
|
|
import { computed, unref } from 'vue';
|
|
|
|
export function useAppInject() {
|
|
const values = useAppProviderContext();
|
|
|
|
return {
|
|
getIsMobile: computed(() => unref(values.isMobile)),
|
|
};
|
|
}
|