mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 09:41:57 +00:00
fix: 修复组件面板详情加载不了的 bug
This commit is contained in:
parent
1c0b50869d
commit
cca33096d1
@ -219,6 +219,9 @@ class Prototype {
|
||||
readonly isPrototype = true;
|
||||
readonly meta: ComponentMeta;
|
||||
readonly options: OldPrototypeConfig | ComponentMetadata;
|
||||
get packageName() {
|
||||
return this.meta.npm?.package;
|
||||
}
|
||||
|
||||
constructor(input: OldPrototypeConfig | ComponentMetadata | ComponentMeta, lookup: boolean = false) {
|
||||
if (lookup) {
|
||||
@ -250,7 +253,7 @@ class Prototype {
|
||||
}
|
||||
|
||||
getPackageName() {
|
||||
return this.meta.npm?.package;
|
||||
return this.packageName;
|
||||
}
|
||||
|
||||
getContextInfo(name: string): any {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user