原来是全局碰撞惹的祸

This commit is contained in:
2024-07-31 10:48:42 +08:00
parent df8b52264e
commit 9aa9806b62
38 changed files with 1640 additions and 313 deletions

17
doc/mvvm/VMCustom.md Normal file
View File

@@ -0,0 +1,17 @@
## VM Custom
### 介绍
VM组件自定义, 可以设置需要监听的 组件名称和组件属性,并且挂载时还能自动识别组件名。比较泛用。适合任意的自制组件。(如果想自动识别自己写的组件名,可以修改脚本配置内容)。
### 编辑器属性
- `Controller` - 激活controller,以开启双向绑定,否则只能接收消息
- `Watch Path` - 绑定数值监听路径
- `Component Name` - 绑定组件的名字 (会根据脚本配置自动识别)
- `Component Property` - 绑定组件上需要监听的属性 (会根据脚本配置自动识别)
- `refreshRate` - 刷新间隔频率 (只影响脏检查的频率) controller开启后生效