Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
flsion committed Sep 13, 2024
2 parents 684b008 + 72f2a22 commit bf12ffe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/web-vue/components/image/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ description: Used to show and preview pictures.

|Event Name|Description|Parameters|
|---|---|---|
|change|Image switch|-|
|visible-change|Preview visibility change|-|
|change|Image switch|index: `number`|
|visible-change|Preview visibility change|visible: `boolean`|
### `<image-preview-group>` Slots

|Slot Name|Description|Parameters|version|
Expand Down
4 changes: 2 additions & 2 deletions packages/web-vue/components/image/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ description: 展示和预览图片。

|事件名|描述|参数|
|---|---|---|
|change|切换图片|-|
|visible-change|预览的打开和关闭|-|
|change|切换图片|index: `number`|
|visible-change|预览的打开和关闭|visible: `boolean`|
### `<image-preview-group>` Slots

|插槽名|描述|参数|版本|
Expand Down
2 changes: 2 additions & 0 deletions packages/web-vue/components/image/preview-group.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,14 @@ export default defineComponent({
/**
* @zh 切换图片
* @en Image switch
* @param {number} index
*/
'change',
'update:current',
/**
* @zh 预览的打开和关闭
* @en Preview visibility change
* @param {boolean} visible
*/
'visible-change',
'update:visible',
Expand Down

0 comments on commit bf12ffe

Please sign in to comment.