Skip to content

Commit 5c33ab6

Browse files
committed
docs: 优化 readme 以及部分代码注释
1 parent 1cfb15a commit 5c33ab6

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

packages/engine/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
## ✨ 特性
3535

36-
- 🌈 提炼自企业级低代码平台的面向扩展开发的内核引擎,奉行最小内核,最强生态的设计理念
36+
- 🌈 提炼自企业级低代码平台的面向扩展设计的内核引擎,奉行最小内核,最强生态的设计理念
3737
- 📦 开箱即用的高质量生态元素,包括 物料体系、设置器、插件 等
3838
- ⚙️ 完善的工具链,支持 物料体系、设置器、插件 等生态元素的全链路研发周期
3939
- 🔌 强大的扩展能力,已支撑近 100 个各种垂直类低代码平台
@@ -111,7 +111,7 @@ https://cdn.jsdelivr.net/npm/@alilc/lowcode-engine@1.0.0/dist/js/engine-core.js
111111
https://cdn.jsdelivr.net/npm/@alilc/lowcode-react-simulator-renderer@1.0.0/dist/js/react-simulator-renderer.js
112112
```
113113

114-
#### 方式 3:使用自有 cdn
114+
#### 方式 4:使用自有 cdn
115115
将源码中 packages/engine/dist 和 packages/(react|rax)-simulator-renderer/dist 下的文件传至你的 cdn 提供商
116116

117117
## 🔗 相关链接
@@ -121,9 +121,9 @@ https://cdn.jsdelivr.net/npm/@alilc/lowcode-react-simulator-renderer@1.0.0/dist/
121121
- [官方物料](https://github.com/alibaba/lowcode-materials)
122122
- [官方设置器(setter)](https://github.com/alibaba/lowcode-engine-ext)
123123
- [官方插件(plugin)](https://github.com/alibaba/lowcode-plugins)
124+
- [生态元素(物料、setter、插件)工具链](https://www.yuque.com/lce/doc/ulvlkz)
124125
- [用户文档](http://lowcode-engine.cn/doc)
125-
- [API WIP](http://lowcode-engine.cn/doc?url=vlmeme)
126-
- [更新日志](http://lowcode-engine.cn/doc?url=engine-changelog)
126+
- [API [WIP]](http://lowcode-engine.cn/doc?url=vlmeme)
127127

128128
## 💻 本地调试
129129

@@ -137,11 +137,11 @@ $ npm start
137137

138138
> 📢 npm 访问速度较慢,阿里员工可以使用 tnpm,其他同学建议使用 cnpm 或者指定镜像 registry。
139139
>
140-
> 📢 node 版本限制在 14
140+
> 📢 node 版本限定在 14
141141
>
142-
> 📢 windows 环境尽量使用 [WSL](https://docs.microsoft.com/zh-cn/windows/wsl/install)
142+
> 📢 windows 环境必须使用 [WSL](https://docs.microsoft.com/zh-cn/windows/wsl/install),其他终端不保证能正常运行
143143
144-
lowcode-engine 启动后,提供了几个 umd 文件,可以结合 [lowcode-demo](https://github.com/alibaba/lowcode-demo) 项目做调试,文件代理规则参考这里
144+
lowcode-engine 启动后,提供了几个 umd 文件,可以结合 [lowcode-demo](https://github.com/alibaba/lowcode-demo) 项目做调试,文件代理规则参考[这里](https://www.yuque.com/lce/doc/glz0fx)
145145

146146
## 🤝 参与共建
147147

packages/shell/src/props.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ export default class Props {
3030
return this[propsSymbol].path;
3131
}
3232

33+
/**
34+
* 返回所属的 node 实例
35+
*/
3336
get node(): Node | null {
3437
return Node.create(this[propsSymbol].getNode());
3538
}
@@ -63,7 +66,7 @@ export default class Props {
6366
}
6467

6568
/**
66-
* 获取指定 path 的属性模型实例,
69+
* 获取指定 path 的属性模型实例值
6770
* 注:导出时,不同于普通属性,该属性并不挂载在 props 之下,而是与 props 同级
6871
* @param path 属性路径,支持 a / a.b / a.0 等格式
6972
* @returns

0 commit comments

Comments
 (0)