Skip to content

Commit

Permalink
docs: v3.0.0-beta.1 版本更新内容
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryZ committed Mar 2, 2023
1 parent 462cfcd commit ed4ebcc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

英文 changelog 内容请访问 [CHANGELOG](CHANGELOG.md)

## [3.0.0-beta.1](https://github.com/TerryZ/v-page/compare/v2.1.0...v3.0.0-beta.1) (2022-08-26)
## [3.0.0-beta.1](https://github.com/TerryZ/v-page/compare/v2.3.0...v3.0.0-beta.1) (2023-03-02)

### 新特性

- 使用 vue3 **composition api** 重构 `v-page`
- 使用 vue3 **composition api** 重构 `v-region`
- 工具链从 `webpack` 更换为 `vite`
- 单元测试库从 `mocha` 更换为 `vitest`
- `page-change` 事件更名为 `change`
- `RegionGroupCore``RegionColumnsCore` 核心模块增加 `complete` 事件,响应所有有效级别选择完成操作
- 下拉列表形态模块 `RegionGroup``RegionColumns``RegionCityPicker` 均增加 `visible-change` 事件,响应下拉层打开/关闭状态
- 移除 `Group` 模式搜索功能
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

Please refer to [CHANGELOG-CN](CHANGELOG-CN.md) for Chinese changelog

## [3.0.0-beta.1](https://github.com/TerryZ/v-page/compare/v2.1.0...v3.0.0-beta.1) (2022-08-26)
## [3.0.0-beta.1](https://github.com/TerryZ/v-page/compare/v2.3.0...v3.0.0-beta.1) (2023-03-02)

### Features

- refactor `v-page` with vue3 **composition api**
- change module bundler library from `webpack` to `vite`
- change unit test library from `mocha` to `vitest`
- `page-change` event rename to `change`
- `RegionGroupCore` and `RegionColumnsCore` core modules add `complete` events in response to all available region level selection completion
- The `RegionGroup`, `RegionColumns` and `RegionCityPicker` modules add `visible-change` events in response to the open/close state of the dropdown layer
- remove the search module from the `Group` mode
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ import { ref } from 'vue'
import { RegionSelects } from 'v-region'
const region = ref({
'province': '350000',
'city': '350100',
'area': '350104',
'town': '350104008'
province: '350000',
city: '350100',
area: '350104',
town: '350104008'
})
function change (data) {
console.log(data)
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"front-end",
"web",
"vue",
"vuejs",
"region",
"city",
"town",
Expand Down

0 comments on commit ed4ebcc

Please sign in to comment.