feat(Popup): duration can be string type

This commit is contained in:
陈嘉涵
2020-01-28 21:50:09 +08:00
parent 086e910afd
commit 4fba295ea1
6 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ export default {
| position | Can be set to `top` `bottom` `right` `left` | *string* | `center` |
| overlay-class | Custom overlay class | *string* | - |
| overlay-style | Custom overlay style | *object* | - |
| duration | Transition duration, unit second | *number* | `0.3` |
| duration | Transition duration, unit second | *string \| number* | `0.3` |
| round `v2.0.7` | Whether to show round corner | *boolean* | `false` |
| lock-scroll | Whether to lock background scroll | *boolean* | `true` |
| lazy-render | Whether to lazy render util appeared | *boolean* | `true` |