diff --git a/apps/vben5/packages/@abp/core/src/hooks/useSettings.ts b/apps/vben5/packages/@abp/core/src/hooks/useSettings.ts index a573d3c23..12bfcb17c 100644 --- a/apps/vben5/packages/@abp/core/src/hooks/useSettings.ts +++ b/apps/vben5/packages/@abp/core/src/hooks/useSettings.ts @@ -5,8 +5,8 @@ import { computed } from 'vue'; import { useAbpStore } from '../store'; export function useSettings(): ISettingProvider { + const abpStore = useAbpStore(); const getSettings = computed(() => { - const abpStore = useAbpStore(); if (!abpStore.application) { return []; }