Skip to content

Commit

Permalink
html-data.zh-cn.json 中的 github 链接错误
Browse files Browse the repository at this point in the history
  • Loading branch information
zdhxiong committed Dec 9, 2023
1 parent e90fcce commit d170d82
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions scripts/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -437,14 +437,14 @@ ${modeName}的 RGB 颜色值,RGB 三色用 \`,\` 分隔。
/* 设置${styleName} */
:root {
${name}: ${
property === 'weight'
? 500
: property === 'line-height'
? 1.5
: property === 'size'
? '16px'
: 0.1
};
property === 'weight'
? 500
: property === 'line-height'
? 1.5
: property === 'size'
? '16px'
: 0.1
};
}
/* 读取${styleName} */
Expand Down Expand Up @@ -749,7 +749,7 @@ export const buildVSCodeData = (metadataPath, packageFolder) => {
// { name: '设计规范', url: `https://www.mdui.org/design~3/` },
{
name: 'Github',
url: `https://github.com/zdhxiong/mdui/${component.modulePath}`,
url: `https://github.com/zdhxiong/mdui/blob/v2/${component.modulePath}`,
},
],
});
Expand Down

0 comments on commit d170d82

Please sign in to comment.