Files
geg-gas-web/src/hooks/web/useAppInject.ts

11 lines
258 B
TypeScript
Raw Normal View History

2024-02-05 09:15:37 +08:00
import { useAppProviderContext } from '/@/components/Application';
import { computed, unref } from 'vue';
export function useAppInject() {
const values = useAppProviderContext();
return {
getIsMobile: computed(() => unref(values.isMobile)),
};
}