We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c66f0e commit 1dc48cfCopy full SHA for 1dc48cf
1 file changed
docs/component/swipe-action.md
@@ -22,7 +22,7 @@
22
<wd-cell title="标题文字" value="内容"/>
23
<template #right>
24
<view class="action">
25
- <view class="button" style="background: #C8C7CD;" @click="handleAction("操作1")">操作1</view>
+ <view class="button" style="background: #C8C7CD;" @click="handleAction('操作1')">操作1</view>
26
<view class="button" style="background: #FFB300;" @click="handleAction('操作2')">操作2</view>
27
<view class="button" style="background: #E2231A;" @click="handleAction('操作3')">操作3</view>
28
</view>
@@ -60,7 +60,7 @@ function handleAction(action: string) {
60
61
## 左右滑动
62
63
-> `wd-swipe-action`组件提供`left`/`right`两个滑动按钮,通过设置插槽`v-slot:left`和`v-slot:right`开启
+> `wd-swipe-action`组件提供`left`/`right`两个滑动按钮,通过设置插槽`left`和`right`开启
64
65
```html
66
<wd-swipe-action>
0 commit comments