提交 53f71c3e 编写于 作者: fxy060608's avatar fxy060608

fix(mp): add default appid

上级 1389152e
......@@ -6,6 +6,7 @@ interface ParseMiniProgramProjectJsonOptions {
pagesJson: UniApp.PagesJson
}
interface ProjectConfig {
appid: string
projectname: string
condition?: {
miniprogram?: UniApp.PagesJson['condition']
......@@ -58,6 +59,9 @@ export function parseMiniProgramProjectJson(
}
projectJson.condition.miniprogram = miniprogram
}
if (!projectJson.appid) {
projectJson.appid = 'touristappid'
}
return projectJson
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册