fix(Field): incorrect count of line break in safari (#5049)

This commit is contained in:
neverland
2019-11-19 21:06:19 +08:00
committed by GitHub
parent f8c130d0cb
commit 1c03d5d3f3
2 changed files with 8 additions and 13 deletions
+2 -8
View File
@@ -2,10 +2,7 @@
<demo-section>
<demo-block :title="$t('basicUsage')">
<van-cell-group>
<van-field
v-model="value"
:placeholder="$t('usernamePlaceholder')"
/>
<van-field v-model="value" :placeholder="$t('usernamePlaceholder')" />
</van-cell-group>
</demo-block>
@@ -69,10 +66,7 @@
:placeholder="$t('smsPlaceholder')"
>
<template #button>
<van-button
size="small"
type="primary"
>
<van-button size="small" type="primary">
{{ $t('sendSMS') }}
</van-button>
</template>