Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix: 修复小程序组件引入错误
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Nov 14, 2019
1 parent 84e3c91 commit 7c07e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/remax-cli/src/build/plugins/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function createPageUsingComponents(page: any, configFilePath: string) {
const usingComponents: { [key: string]: string } = {};
for (const { id, sourcePath, importer } of nativeComponents) {
if (page.file !== importer) {
return;
continue;
}
if (sourcePath.startsWith('plugin:https://')) {
usingComponents[id] = sourcePath;
Expand Down

1 comment on commit 7c07e2d

@vercel
Copy link

@vercel vercel bot commented on 7c07e2d Nov 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.