title组件修复

This commit is contained in:
hucongqian 2022-06-30 13:47:21 +08:00
parent 05736161fb
commit ea6d5376da
1 changed files with 7 additions and 6 deletions

View File

@ -1,16 +1,16 @@
<template>
<div class="content-title">
<div>
{{ title }}
</div>
<div>{{ title }}</div>
<slot></slot>
</div>
</template>
<script>
import contentTitle from "./content-title";
export default {
name: "contentTitle",
props: {
title: String,
title: String
},
};
</script>
@ -20,8 +20,9 @@ export default {
height: 48px;
line-height: 48px;
font-size: 18px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: space-between;;
// color: #fff;
}
</style>