diff --git a/site/plugin-tdoc/md-to-vue.ts b/site/plugin-tdoc/md-to-vue.ts index d895b87bb..4f8f913b4 100644 --- a/site/plugin-tdoc/md-to-vue.ts +++ b/site/plugin-tdoc/md-to-vue.ts @@ -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'); diff --git a/src/_common b/src/_common index ccbb9fb2e..03f67a1ec 160000 --- a/src/_common +++ b/src/_common @@ -1 +1 @@ -Subproject commit ccbb9fb2e8076a7646a65cd62e32f79445494006 +Subproject commit 03f67a1eccd9eccf9485d27a02d5b91554b6d9c5