chore: style

This commit is contained in:
力皓 2021-05-12 18:20:10 +08:00
parent 567b1813f9
commit e0c4c31daa
2 changed files with 3 additions and 3 deletions

View File

@ -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,
}));
}

View File

@ -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"
}