mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 17:08:14 +00:00
chore: style
This commit is contained in:
parent
567b1813f9
commit
e0c4c31daa
@ -676,14 +676,14 @@ export class DocumentModel {
|
||||
|
||||
/**
|
||||
* 获取 schema 中的 utils 节点,当前版本不判断页面中使用了哪些 utils,直接返回资产包中所有的 utils
|
||||
* @returns
|
||||
* @returns
|
||||
*/
|
||||
getUtilsMap() {
|
||||
return this.designer?.editor?.get('assets')?.utils?.map((item: any) => ({
|
||||
name: item.name,
|
||||
type: item.type || 'npm',
|
||||
// TODO 当前只有 npm 类型,content 直接设置为 item.npm,有 function 类型之后需要处理
|
||||
content: item.npm
|
||||
content: item.npm,
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
@ -57,6 +57,6 @@
|
||||
"publishConfig": {
|
||||
"registry": "https://registry.npm.alibaba-inc.com"
|
||||
},
|
||||
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@1.0.47/build/index.html",
|
||||
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@1.0.48-beta.1/build/index.html",
|
||||
"gitHead": "3bfd7df92985ec6c9d2ccb8ba95d7b0829fa2b1d"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user