fix: fix collapse header title not rendering (#256)

This commit is contained in:
John Niang 2021-02-07 17:56:46 +08:00 committed by GitHub
parent c57dea0438
commit c81d48e734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
<template> <template>
<div :class="`${prefixCls}__header`"> <div :class="`${prefixCls}__header`">
<BasicTitle :helpMessage="helpMessage"> <BasicTitle :helpMessage="helpMessage">
<template v-if="$attrs.title"> <template v-if="title">
{{ title }} {{ title }}
</template> </template>
<template v-else> <template v-else>