Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
T-miracle committed Jan 15, 2025
1 parent 985edac commit 2b818bf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions .vitepress/sidebar/bugs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@ import {
bugIcon,
editorIcon,
elementIcon,
hBuilderXIcon,
htmlIcon,
ideaIcon,
tsIcon,
uniAppIcon,
webIcon
} from './icons';
import { type SidebarType } from '../../package/type';
import ideaItems from './learn/idea';
import hBuilderXItems from './learn/hbuilderx';
import androidStudioItems from './learn/android-studio';

const bugsSidebar: SidebarType[] = [
Expand Down
2 changes: 0 additions & 2 deletions .vitepress/sidebar/learn.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
androidIcon,
androidStudioIcon,
conceptIcon,
cssIcon, deployIcon, dockerIcon, editorIcon, githubIcon, gitIcon, hBuilderXIcon,
htmlIcon,
Expand All @@ -26,7 +25,6 @@ import springItems from './learn/spring';
import wxMiniprogramItems from './learn/wx-miniprogram';
import mysqlItems from './learn/mysql';
import hBuilderXItems from './learn/hbuilderx';
import androidStudioItems from './learn/android-studio';
import webpackItems from './learn/webpack';
import uniappItems from './learn/uniapp';
import dockerItem from './learn/docker';
Expand Down
2 changes: 1 addition & 1 deletion package/components/NanoSidebarDir/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
const visible = ref(!ctl.hideDir);
watch(() => frontmatter.value?.layout, (value) => {
visible.value = !value && ctl.hideDir;
visible.value = value && ctl.hideDir;
}, { immediate: true });
onMounted(() => {
Expand Down

0 comments on commit 2b818bf

Please sign in to comment.