From 55df8430600febcafdcc23082d08b1786823c692 Mon Sep 17 00:00:00 2001 From: dgflash Date: Tue, 28 Jun 2022 14:41:22 +0800 Subject: [PATCH] =?UTF-8?q?MVVM=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 ++++- doc/mvvm/MvvmInfo.md | 4 +--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 22d676f..f46de55 100644 --- a/README.md +++ b/README.md @@ -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) \ No newline at end of file +#### [开源框架 oops-framework github](https://github.com/dgflash/oops-framework) + +#### 文档 +[MVVM](https://gitee.com/dgflash/oops-framework/blob/master/doc/mvvm/MvvmInfo.md) diff --git a/doc/mvvm/MvvmInfo.md b/doc/mvvm/MvvmInfo.md index 1cce473..b82dd30 100644 --- a/doc/mvvm/MvvmInfo.md +++ b/doc/mvvm/MvvmInfo.md @@ -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` — 解决节点状态的切换问题