fix: designer.componentsMap

This commit is contained in:
mario.gk 2020-09-27 10:45:01 +08:00
parent b787dc436c
commit d8d32a29f9

View File

@ -464,7 +464,7 @@ export class Designer {
const view = metaData.experimental?.view; const view = metaData.experimental?.view;
if (view) { if (view) {
maps[key] = view; maps[key] = view;
} else if (config.npm) { } else {
maps[key] = config.npm; maps[key] = config.npm;
} }
} }