mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-06 17:18:40 +08:00
docs: ✏️ 修复 SwipeAction 文档示例拼写错误的问题
This commit is contained in:
parent
3c66f0e91c
commit
1dc48cfce9
@ -22,7 +22,7 @@
|
|||||||
<wd-cell title="标题文字" value="内容"/>
|
<wd-cell title="标题文字" value="内容"/>
|
||||||
<template #right>
|
<template #right>
|
||||||
<view class="action">
|
<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: #FFB300;" @click="handleAction('操作2')">操作2</view>
|
||||||
<view class="button" style="background: #E2231A;" @click="handleAction('操作3')">操作3</view>
|
<view class="button" style="background: #E2231A;" @click="handleAction('操作3')">操作3</view>
|
||||||
</view>
|
</view>
|
||||||
@ -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
|
```html
|
||||||
<wd-swipe-action>
|
<wd-swipe-action>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user