[improvement] Popup: add position default value

This commit is contained in:
陈嘉涵
2019-05-05 17:24:32 +08:00
parent 0288fb35a4
commit 70550a500f
7 changed files with 33 additions and 45 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ function ActionSheet(
function Header() {
if (title) {
return (
<div class={[bem('header'), 'van-hairline--top-bottom']}>
<div class={[bem('header'), 'van-hairline--bottom']}>
{title}
<Icon name="close" class={bem('close')} onClick={onCancel} />
</div>