fix(AddressEdit): hide border of the last cell (#11872)

* fix(AddressEdit): hide border of the last cell

* Update demo-ssr.spec.ts.snap

* Update demo.spec.ts.snap

* Update index.spec.ts.snap
This commit is contained in:
Mikasa33 2023-05-17 22:15:00 +08:00 committed by GitHub
parent 71de1ad079
commit 3867017d3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View File

@ -225,6 +225,7 @@ export default defineComponent({
v-slots={slots} v-slots={slots}
v-show={!hideBottomFields.value} v-show={!hideBottomFields.value}
center center
border={false}
title={t('defaultAddress')} title={t('defaultAddress')}
class={bem('default')} class={bem('default')}
/> />

View File

@ -114,7 +114,7 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
</div> </div>
</div> </div>
<div class="van-cell van-cell--center van-address-edit__default"> <div class="van-cell van-cell--center van-cell--borderless van-address-edit__default">
<div class="van-cell__title" <div class="van-cell__title"
style style
> >

View File

@ -89,7 +89,7 @@ exports[`should render demo and match snapshot 1`] = `
</div> </div>
</div> </div>
</div> </div>
<div class="van-cell van-cell--center van-address-edit__default"> <div class="van-cell van-cell--center van-cell--borderless van-address-edit__default">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
Set as the default address Set as the default address

View File

@ -194,7 +194,7 @@ exports[`should render AddressEdit with props correctly 1`] = `
</div> </div>
</div> </div>
</div> </div>
<div class="van-cell van-cell--center van-address-edit__default"> <div class="van-cell van-cell--center van-cell--borderless van-address-edit__default">
<div class="van-cell__title"> <div class="van-cell__title">
<span> <span>
Set as the default address Set as the default address