diff --git a/README.md b/README.md index 2501f15641ac0f935d9cad9e0d1898e3f10d0001..da86d2e8b815f923292c912eca7dbc6adfe9f5f7 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,14 @@ ArkWeb同层渲染原生组件,原生组件不仅可以提供H5组件无法实 ### 工程结构&模块类型 ``` ├──entry/src/main/ets/ -│ ├──mock -│ │ └──GoodsMock.ets // 模拟数据类 │ ├──entryability │ │ └──EntryAbility.ets // 配置类 -│ └──model +│ ├──model │ │ └──GoodsModel.ets // 类型声明 -│ └──pages -│ └──Index.ets // 程序入口类 +│ ├──pages +│ │ └──Index.ets // 程序入口类 +│ └──viewmodel +│ └──GoodsViewModel.ets // 模拟数据类 └──entry/src/main/resource // 应用静态资源目录 ``` ### 相关权限 diff --git a/README_EN.md b/README_EN.md index 6620ae64530778f5ae24d853885677e5960826a3..22ae792270592a4a485a7b9f58add5dfc3f2e700 100644 --- a/README_EN.md +++ b/README_EN.md @@ -19,14 +19,14 @@ The native same-level rendering components of ArkWeb not only provide some funct ### Project Directory ``` ├──entry/src/main/ets/ -│ ├──mock -│ │ └──GoodsMock.ets // Simulated data class │ ├──entryability │ │ └──EntryAbility.ets // Configuration class -│ └──model +│ ├──model │ │ └──GoodsModel.ets // Type declaration -│ └──pages -│ └──Index.ets // Entry point class +│ ├──pages +│ │ └──Index.ets // Entry point class +│ └──viewmodel +│ └──GoodsViewModel.ets // Simulated data class └──entry/src/main/resource // Static resources of the app ``` ### Required Permissions