mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-05-22 14:39:16 +08:00
[bugfix] Panel: header-class not work (#831)
This commit is contained in:
parent
40ce5cf61a
commit
c9e89ec594
@ -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
|
||||
}
|
||||
});
|
||||
|
@ -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" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user