[bugfix] Panel: header-class not work (#831)

This commit is contained in:
neverland 2018-10-30 20:00:52 +08:00 committed by GitHub
parent 40ce5cf61a
commit c9e89ec594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -1,13 +1,12 @@
import { VantComponent } from '../common/component';
VantComponent({
classes: ['footer-class'],
classes: ['header-class', 'footer-class'],
props: {
desc: String,
title: String,
status: String,
headerClass: String,
useFooterSlot: Boolean
}
});

View File

@ -4,7 +4,7 @@
title="{{ title }}"
label="{{ desc }}"
value="{{ status }}"
custom-class="{{ headerClass }}"
custom-class="header-class"
value-class="van-panel__header-value"
/>
<slot wx:else name="header" />