Skip to content

Commit b0e4d23

Browse files
authored
docs: ✏️ 允许文档组件列表折叠收起 (#468)
Signed-off-by: 诺墨 <normal@normalcoder.com>
1 parent 0ecc4c1 commit b0e4d23

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/.vitepress/config.mts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ export default defineConfig({
188188
'/component/': [
189189
{
190190
text: '基础',
191+
collapsed: false,
191192
items: [
192193
{
193194
link: "/component/button",
@@ -222,6 +223,7 @@ export default defineConfig({
222223
{
223224

224225
text: "导航",
226+
collapsed: false,
225227
items: [{
226228
link: "/component/pagination",
227229
text: "Pagination 分页"
@@ -253,6 +255,7 @@ export default defineConfig({
253255
}, {
254256

255257
text: "数据输入",
258+
collapsed: false,
256259
items: [{
257260
link: "/component/calendar",
258261
text: "Calendar 日历选择器"
@@ -316,6 +319,7 @@ export default defineConfig({
316319
}]
317320
}, {
318321
text: "反馈",
322+
collapsed: false,
319323
items: [{
320324
link: "/component/action-sheet",
321325
text: "ActionSheet 动作面板"
@@ -368,6 +372,7 @@ export default defineConfig({
368372
}, {
369373

370374
text: "数据展示",
375+
collapsed: false,
371376
items: [{
372377
link: "/component/badge",
373378
text: "Badge 徽标"

0 commit comments

Comments
 (0)