Skip to content

Commit

Permalink
docs: ✏️ 修复 SwipeAction 文档示例拼写错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Moonofweisheng committed Jan 20, 2025
1 parent 3c66f0e commit 1dc48cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/component/swipe-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<wd-cell title="标题文字" value="内容"/>
<template #right>
<view class="action">
<view class="button" style="background: #C8C7CD;" @click="handleAction("操作1")">操作1</view>
<view class="button" style="background: #C8C7CD;" @click="handleAction('操作1')">操作1</view>
<view class="button" style="background: #FFB300;" @click="handleAction('操作2')">操作2</view>
<view class="button" style="background: #E2231A;" @click="handleAction('操作3')">操作3</view>
</view>
Expand Down Expand Up @@ -60,7 +60,7 @@ function handleAction(action: string) {

## 左右滑动

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

0 comments on commit 1dc48cf

Please sign in to comment.