feat: 抽离默认配置选项

This commit is contained in:
xiaoxian521
2021-10-08 11:32:50 +08:00
parent 13749c784d
commit fc5cec54b0
5 changed files with 56 additions and 45 deletions

View File

@@ -3,7 +3,7 @@ import { ref, unref, computed, getCurrentInstance } from "vue";
import { useSettingStoreHook } from "/@/store/modules/settings";
const keepAlive: Boolean = ref(
getCurrentInstance().appContext.config.globalProperties.$config?.keepAlive
getCurrentInstance().appContext.config.globalProperties.$config?.KeepAlive
);
const getCachedPageList = computed((): string[] => {