Cloud Zhang
2024-05-10 9da81a196848053ea60342ed1d3da783efd22a11
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)),
  };
}