未设置title时,不渲染title标签

This commit is contained in:
chenghx 2018-08-07 11:32:17 +08:00
parent 244a954508
commit e0ff72f271

View File

@ -1,6 +1,6 @@
<template>
<div class="detail-list">
<div class="title">{{title}}</div>
<div v-if="title" class="title">{{title}}</div>
<a-row>
<slot></slot>
</a-row>