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