chore: fix prettier version (#7739)

* chore: fix prettier version

* docs: fix
This commit is contained in:
neverland
2020-12-14 17:04:43 +08:00
committed by GitHub
parent b6ab011f7d
commit dc3fee12c1
17 changed files with 45 additions and 94 deletions
+4 -4
View File
@@ -133,10 +133,10 @@ export default {
Use [ref](https://vuejs.org/v2/api/#ref) to get SwipeCell instance and call instance methods.
| Name | Description | Attribute | Return value |
| ----- | --------------- | ------------------------ | ------------ |
| open | open SwipeCell | position: `left | right` | - |
| close | close SwipeCell | - | - |
| Name | Description | Attribute | Return value |
| ----- | --------------- | ------------------------- | ------------ |
| open | open SwipeCell | position: `left \| right` | - |
| close | close SwipeCell | - | - |
### Less Variables
+4 -4
View File
@@ -147,10 +147,10 @@ beforeClose 的第一个参数为对象,对象中包含以下属性:
通过 ref 可以获取到 SwipeCell 实例并调用实例方法,详见[组件实例方法](#/zh-CN/advanced-usage#zu-jian-shi-li-fang-fa)。
| 方法名 | 说明 | 参数 | 返回值 |
| ------ | ---------------- | ------------------------ | ------ |
| open | 打开单元格侧边栏 | position: `left | right` | - |
| close | 收起单元格侧边栏 | - | - |
| 方法名 | 说明 | 参数 | 返回值 |
| ------ | ---------------- | ------------------------- | ------ |
| open | 打开单元格侧边栏 | position: `left \| right` | - |
| close | 收起单元格侧边栏 | - | - |
### 样式变量