| | |
| | | import { computed, unref } from 'vue'; |
| | | |
| | | import { appStore } from '/@/store/modules/app'; |
| | | import { useAppStore } from '/@/store/modules/app'; |
| | | |
| | | import router from '/@/router'; |
| | | |
| | |
| | | * @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 |
| | |
| | | // Return to the configuration in the configuration file |
| | | return appStore.getProjectConfig.fullContent; |
| | | }); |
| | | |
| | | return { getFullContent }; |
| | | }; |