MVVM文档

This commit is contained in:
dgflash
2022-06-28 14:41:22 +08:00
parent 0f2763fd22
commit 55df843060
2 changed files with 5 additions and 4 deletions

View File

@@ -112,4 +112,7 @@ oops-framework 基于 Cocos Creato 3.x 开发的一款游戏框架
#### [新手引导模块 oops-guide](https://store.cocos.com/app/detail/3653)
#### [联机游戏框架 oops-mgobe](https://store.cocos.com/app/detail/3574)
#### [开源框架 oops-framework gitee](https://gitee.com/dgflash/oops-framework)
#### [开源框架 oops-framework github](https://github.com/dgflash/oops-framework)
#### [开源框架 oops-framework github](https://github.com/dgflash/oops-framework)
#### 文档
[MVVM](https://gitee.com/dgflash/oops-framework/blob/master/doc/mvvm/MvvmInfo.md)

View File

@@ -1,5 +1,4 @@
### 框架原作者文档链接
使用文档: https://github.com/wsssheep/cocos_creator_mvvm_tools/tree/master/docs
### 原创作者上有2.x的DEMO
Github 地址: https://github.com/wsssheep/cocos_creator_mvvm_tools
### 项目结构
@@ -15,7 +14,6 @@ Github 地址: https://github.com/wsssheep/cocos_creator_mvvm_tools
### 组件简介
- `VMCustom` — 挂载VMCustom然后会自动识别当前节点的组件(也可以自行设置)。填上你的数值路径,大功告成。
- `VMLabel` — 挂在VMLabel ,不用担心你的数值是整是零,使用模板语法 {{0:int}}自动格式化,解决文本数据显示的问题
- `VMState` — 解决节点状态的切换问题