Skip to content

Commit 1dc48cf

Browse files
docs: ✏️ 修复 SwipeAction 文档示例拼写错误的问题
1 parent 3c66f0e commit 1dc48cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/component/swipe-action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<wd-cell title="标题文字" value="内容"/>
2323
<template #right>
2424
<view class="action">
25-
<view class="button" style="background: #C8C7CD;" @click="handleAction("操作1")">操作1</view>
25+
<view class="button" style="background: #C8C7CD;" @click="handleAction('操作1')">操作1</view>
2626
<view class="button" style="background: #FFB300;" @click="handleAction('操作2')">操作2</view>
2727
<view class="button" style="background: #E2231A;" @click="handleAction('操作3')">操作3</view>
2828
</view>
@@ -60,7 +60,7 @@ function handleAction(action: string) {
6060

6161
## 左右滑动
6262

63-
> `wd-swipe-action`组件提供`left`/`right`两个滑动按钮,通过设置插槽`v-slot:left``v-slot:right`开启
63+
> `wd-swipe-action`组件提供`left`/`right`两个滑动按钮,通过设置插槽`left``right`开启
6464
6565
```html
6666
<wd-swipe-action>

0 commit comments

Comments
 (0)