Vben
2021-04-10 215d8bab380728164d7fe2958c2d2d1151fce892
src/hooks/web/useFullContent.ts
@@ -1,6 +1,6 @@
import { computed, unref } from 'vue';
import { appStore } from '/@/store/modules/app';
import { useAppStore } from '/@/store/modules/app';
import router from '/@/router';
@@ -8,6 +8,7 @@
 * @description: Full screen display content
 */
export const useFullContent = () => {
  const appStore = useAppStore();
  const { currentRoute } = router;
  // Whether to display the content in full screen without displaying the menu
@@ -21,5 +22,6 @@
    // Return to the configuration in the configuration file
    return appStore.getProjectConfig.fullContent;
  });
  return { getFullContent };
};