Skip to content

Commit

Permalink
revert: 1.0.0-alpha.8 (2024-06-12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed Jun 12, 2024
1 parent 645d27d commit dbd4b95
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
English | [Chinese](https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.md)

## 1.0.0 alpha.8 (2024-06-12)

- Fix the issue of `f-image` and `f-avatar` components being squeezed
- Fix the issue of inability to execute events in the `f-link` components `no-link` state

## 1.0.0-alpha.7 (2024-05-24)

- Add callback parameters to the `f-select` component `on-before-change` configuration item
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

中文 | [英文](https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.en-US.md)

## 1.0.0-alpha.8 (2024-06-12)

- 修复 `f-image``f-avatar` 组件被挤压的问题
- 修复 `f-link` 组件 `no-link` 状态下无法执行事件的问题

## 1.0.0-alpha.7 (2024-05-24)

Expand Down
5 changes: 5 additions & 0 deletions docs/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

中文 | [英文](https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.en-US.md)

## 1.0.0-alpha.8 (2024-06-12)

- 修复 `f-image``f-avatar` 组件被挤压的问题
- 修复 `f-link` 组件 `no-link` 状态下无法执行事件的问题

## 1.0.0-alpha.7 (2024-05-24)

- `f-select` 组件 `on-before-change` 配置项新增回调参数
Expand Down
5 changes: 5 additions & 0 deletions packages/fighting-design/link/src/link.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@
* @see event.preventDefault https://developer.mozilla.org/zh-CN/docs/Web/API/Event/preventDefault
*/
evt.preventDefault()
}
// 只有在禁用状态下需要返回,跳转状态下继续执行事件
if (prop.disabled) {
return
}
run(prop.onClick, evt)
}
Expand Down
2 changes: 1 addition & 1 deletion packages/fighting-design/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fighting-design",
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.8",
"description": "Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.",
"keywords": [
"fighting",
Expand Down

0 comments on commit dbd4b95

Please sign in to comment.