test(Slider): update test cases

This commit is contained in:
chenjiahan
2021-01-07 20:46:47 +08:00
parent eb47a3948d
commit fd8ac0a582
5 changed files with 181 additions and 250 deletions
+2 -2
View File
@@ -113,8 +113,8 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| name | 标识符,可以在事件参数中获取到 | _number \| string_ | - |
| left-width | 指定左侧滑动区域宽度,单位为`px` | _number \| string_ | `auto` |
| right-width | 指定右侧滑动区域宽度,单位为`px` | _number \| string_ | `auto` |
| left-width | 指定左侧滑动区域宽度,单位为 `px` | _number \| string_ | `auto` |
| right-width | 指定右侧滑动区域宽度,单位为 `px` | _number \| string_ | `auto` |
| before-close | 关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise | _(args) => boolean \| Promise_ | - |
| disabled | 是否禁用滑动 | _boolean_ | `false` |
| stop-propagation | 是否阻止滑动事件冒泡 | _boolean_ | `false` |