|
|
|
@ -101,7 +101,8 @@ onBeforeMount(async () => {
|
|
|
|
|
configStore.fetchCustomConfig();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
configStore.$subscribe(() => {
|
|
|
|
|
nextTick(()=>{
|
|
|
|
|
configStore.$subscribe(() => {
|
|
|
|
|
const config = configStore.getConfig;
|
|
|
|
|
const customConfig = configStore.getCustomConfig;
|
|
|
|
|
if (
|
|
|
|
@ -122,7 +123,7 @@ configStore.$subscribe(() => {
|
|
|
|
|
|
|
|
|
|
let sortKeyList: any = [];
|
|
|
|
|
configStore.getFilterConfig.map((item: any) => {
|
|
|
|
|
sortKeyList.push(item.id);
|
|
|
|
|
sortKeyList.push(item?.id);
|
|
|
|
|
});
|
|
|
|
|
const showKeys = [...sortKeyList];
|
|
|
|
|
|
|
|
|
@ -172,10 +173,10 @@ configStore.$subscribe(() => {
|
|
|
|
|
}
|
|
|
|
|
// console.log("showKeys", showKeys);
|
|
|
|
|
const items = showKeys.reduce((acc, key) => {
|
|
|
|
|
const { render } = asideMap[key];
|
|
|
|
|
|
|
|
|
|
const currentData = asideMap[key];
|
|
|
|
|
const render = currentData?.render;
|
|
|
|
|
if (render !== false) {
|
|
|
|
|
const str = key.toLowerCase();
|
|
|
|
|
const str = key?.toLowerCase();
|
|
|
|
|
|
|
|
|
|
const o = {
|
|
|
|
|
key: str,
|
|
|
|
@ -191,6 +192,7 @@ configStore.$subscribe(() => {
|
|
|
|
|
configFilterRef.value = configStore.getFilterConfig;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
const asideEnter = ref(false);
|
|
|
|
|
|
|
|
|
|
const showCollapse = computed(() => {
|
|
|
|
|