Ben Lin
2024-08-07 439e3b0f076280311b7cd4251a95820730242780
1
2
3
4
5
6
7
8
9
10
import { useAppProviderContext } from '@/components/Application';
import { computed, unref } from 'vue';
 
export function useAppInject() {
  const values = useAppProviderContext();
 
  return {
    getIsMobile: computed(() => unref(values.isMobile)),
  };
}