master
yutent 2023-03-09 16:18:48 +08:00
parent bdecce6831
commit 9b91489705
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class Card extends Component {
render() { render() {
return html` return html`
<div class="card-box"> <div class="card-box">
<div class="header">${this.header && '<slot name="header" />'}</div> <div class="header">${this.header || '<slot name="header" />'}</div>
<div class="content"><slot /></div> <div class="content"><slot /></div>
</div> </div>
` `