Skip to content

Commit

Permalink
chore: update design path (#2565)
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao authored Jan 20, 2024
1 parent 1eac5f4 commit d82afc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/plugin-tdoc/md-to-vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function customRender({ source, file, md }: any) {

// 设计指南内容 不展示 design Tab 则不解析
if (pageData.isComponent && pageData.tdDocTabs.some((item) => item.tab === 'design')) {
const designDocPath = path.resolve(__dirname, `../../src/_common/docs/miniprogram/design/${componentName}.md`);
const designDocPath = path.resolve(__dirname, `../../src/_common/docs/mobile/design/${componentName}.md`);

if (fs.existsSync(designDocPath)) {
const designMd = fs.readFileSync(designDocPath, 'utf-8');
Expand Down
2 changes: 1 addition & 1 deletion src/_common
Submodule _common updated 104 files

0 comments on commit d82afc6

Please sign in to comment.