docs(Form): use new unified syntax for perf

This commit is contained in:
陈嘉涵
2020-02-20 20:56:16 +08:00
parent b8818cef8c
commit d72bf8145a
5 changed files with 101 additions and 63 deletions
@@ -76,14 +76,14 @@ exports[`renders demo correctly 1`] = `
<div role="checkbox" tabindex="0" aria-checked="false" class="van-checkbox van-checkbox--horizontal">
<div class="van-checkbox__icon van-checkbox__icon--square"><i class="van-icon van-icon-success">
<!----></i></div><span class="van-checkbox__label">
复选框 1
</span>
复选框 1
</span>
</div>
<div role="checkbox" tabindex="0" aria-checked="false" class="van-checkbox van-checkbox--horizontal">
<div class="van-checkbox__icon van-checkbox__icon--square"><i class="van-icon van-icon-success">
<!----></i></div><span class="van-checkbox__label">
复选框 2
</span>
复选框 2
</span>
</div>
</div>
</div>
+3 -1
View File
@@ -150,7 +150,9 @@ test('input-align prop', () => {
<van-form input-align="right">
<van-field />
<van-field>
<div slot="input" />
<template #input>
<div />
</template>
</van-field>
</van-form>
`,