From 07a10bc58ac6b8388ede48e46cdd7a87ba57c7e2 Mon Sep 17 00:00:00 2001 From: Tyh2001 <1469442737@qq.com> Date: Wed, 10 May 2023 12:18:09 +0800 Subject: [PATCH] =?UTF-8?q?revert:=20=E5=8F=91=E5=B8=83=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=200.37.0=20(2023-05-10)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.en-US.md | 15 +++++++++++++ CHANGELOG.md | 2 ++ docs/docs/changelog.md | 15 +++++++++++++ packages/fighting-design/package.json | 2 +- start/src/App.vue | 31 ++------------------------- 5 files changed, 35 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index fb158e8075..ddecd9a9ec 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -4,6 +4,21 @@ English | [Chinese](https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.md) +## 0.37.0 (2023-05-10) + +**Update** + +- Optimization of `f-skeleton` component style details +- Add `row gap` and `difference` configuration items to the `f-skeleton` component +- `f-form` component `on-submit` callback parameter type modification, changing from one object type to four parameter types +- `f-form item` component added `validator` validation method +- Added section `hooks` encapsulation + +**Fix** + +- Fix the issue where the `f-form` component did not pass rules and name, which also triggered form validation +- Fix the issue where clicking on the `f-trigger` content section will also close + ## 0.36.1 (2023-05-08) - Fix style issues with `f-dialog` diff --git a/CHANGELOG.md b/CHANGELOG.md index 98a9159460..c2d0450b7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ 中文 | [英文](https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.en-US.md) +## 0.37.0 (2023-05-10) + **更新** - `f-skeleton` 组件样式细节优化 diff --git a/docs/docs/changelog.md b/docs/docs/changelog.md index a45b086c37..c2d0450b7d 100644 --- a/docs/docs/changelog.md +++ b/docs/docs/changelog.md @@ -2,6 +2,21 @@ 中文 | [英文](https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.en-US.md) +## 0.37.0 (2023-05-10) + +**更新** + +- `f-skeleton` 组件样式细节优化 +- `f-skeleton` 组件新增 `row-gap` 和 `difference` 配置项 +- `f-form` 组件 `on-submit` 回调参数类型修改,由一个对象类型,改为四个参数类型 +- `f-form-item` 组件新增 `validator` 校验方法 +- 新增部分 `hooks` 封装 + +**修复** + +- 修复 `f-form` 组件没有传递 rules 和 name 也触发表单校验的问题 +- 修复点击 `f-trigger` 内容部分也会关闭的问题 + ## 0.36.1 (2023-05-08) - 修复 `f-dialog` 样式问题 diff --git a/packages/fighting-design/package.json b/packages/fighting-design/package.json index 6adc86a04e..aa58a488ed 100644 --- a/packages/fighting-design/package.json +++ b/packages/fighting-design/package.json @@ -1,6 +1,6 @@ { "name": "fighting-design", - "version": "0.36.1", + "version": "0.37.0", "description": "Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.", "keywords": [ "fighting", diff --git a/start/src/App.vue b/start/src/App.vue index 955f768869..1c772edac4 100644 --- a/start/src/App.vue +++ b/start/src/App.vue @@ -1,30 +1,3 @@ - - const ruleForm = reactive({ - account: '', - password: '' - }) - - const handelSubmit = (): void => { - FMessage.primary('开始提交表单') - } - - - +