Skip to content

Commit 3a2b3f2

Browse files
authored
fix: 去除designtoken描述文档多余字段 (DevCloudFE#1760)
1 parent b978c47 commit 3a2b3f2

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

packages/devui-vue/devui-cli/shared/constant.js

+1-8
Original file line numberDiff line numberDiff line change
@@ -29,52 +29,45 @@ exports.VITEPRESS_SIDEBAR_FILE_EN = resolve(
2929
`config/${this.VITEPRESS_SIDEBAR_FILE_NAME_EN}`
3030
);
3131
// 这里的分类顺序将会影响最终生成的页面侧边栏顺序
32-
exports.VITEPRESS_SIDEBAR_CATEGORY = ['通用', 'DesignToken', '导航', '反馈', '数据录入', '数据展示', '布局', '演进中'];
32+
exports.VITEPRESS_SIDEBAR_CATEGORY = ['通用', '导航', '反馈', '数据录入', '数据展示', '布局', '演进中'];
3333
exports.DESIGN_TOKENS_INFO = [
3434
{
35-
category: 'DesignToken',
3635
text: 'Animation 动效',
3736
status: '100%',
3837
name: 'design-animation',
3938
link: "/components/design-animation/",
4039
},
4140
{
42-
category: 'DesignToken',
4341
text: 'BorderRadius 圆角',
4442
status: '100%',
4543
name: 'design-radius',
4644
link: "/components/design-radius/",
4745
},
4846
{
49-
category: 'DesignToken',
5047
text: 'Color 颜色',
5148
status: '100%',
5249
name: 'design-color',
5350
link: "/components/design-color/",
5451
},
5552
{
56-
category: 'DesignToken',
5753
text: 'Font 字体',
5854
status: '100%',
5955
name: 'design-font',
6056
link: "/components/design-font/",
6157
},
6258
{
63-
category: 'DesignToken',
6459
text: 'Link 链接',
6560
status: '100%',
6661
name: 'design-link',
6762
link: "/components/design-link/",
6863
},
6964
{
70-
category: 'DesignToken',
7165
text: 'Shadow 阴影',
7266
status: '100%',
7367
name: 'design-shadow',
7468
link: "/components/design-shadow/",
7569
},
7670
{
77-
category: 'DesignToken',
7871
text: 'ZIndex 层级',
7972
status: '100%',
8073
name: 'design-zindex',

0 commit comments

Comments
 (0)