bug
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<div class="DoughnutChart-explain">
|
||||
<div class="item" v-for="(item, index) in value" :key="index">
|
||||
<i></i>
|
||||
<span>{{ item.key }}</span>
|
||||
<span :style="labelStyle">{{ item.key }}</span>
|
||||
<p>{{ item.value }}</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ['ratio', 'value'],
|
||||
props: ['ratio', 'value', 'labelStyle'],
|
||||
|
||||
data () {
|
||||
return {
|
||||
@@ -146,10 +146,7 @@
|
||||
}
|
||||
|
||||
span {
|
||||
margin-right: 20px;
|
||||
// width: 88px;
|
||||
// min-width: 50px;
|
||||
// max-width: 70px;
|
||||
width: 78px;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #9BB7D4;
|
||||
|
||||
Reference in New Issue
Block a user