Skip to content

Commit def5cf4

Browse files
authored
docs(SwipeCell): add FAQ (#3386)
1 parent d4b04ba commit def5cf4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/swipe-cell/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,8 @@ right | Array / Slot | - | 右侧滑动操作项。有两种定义方式,一
6262
-- | -- | --
6363
click | `(action: SwipeActionItem, source: SwipeSource)` | 操作项点击时触发(插槽写法组件不触发,业务侧自定义内容和事件)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/swipe-cell/type.ts)。<br/>`type SwipeSource = 'left' \| 'right'`<br/>
6464
dragend | \- | 滑动结束事件
65-
dragstart | \- | 滑动开始事件
65+
dragstart | \- | 滑动开始事件
66+
67+
## FAQ
68+
### `SwipeCell` 组件在真机上无法滑动?
69+
移除全局配置项: "componentFramework": "glass-easel",详情见: [issue 2524](https://github.com/Tencent/tdesign-miniprogram/issues/2524)。如需使用 `skyline render`,建议页面级粒度开启。

0 commit comments

Comments
 (0)