feat: 新增文本字体加粗

This commit is contained in:
蒋承
2022-09-27 10:56:26 +08:00
parent 3c39d5db9d
commit 8d36a857eb
3 changed files with 35 additions and 5 deletions
@@ -34,7 +34,8 @@ const {
borderColor,
borderRadius,
writingMode,
backgroundColor
backgroundColor,
fontWeight
} = toRefs(props.chartConfig.option)
const option = shallowReactive({
@@ -76,12 +77,12 @@ const click = () => {
font-size: v-bind('fontSize + "px"');
letter-spacing: v-bind('letterSpacing + "px"');
writing-mode: v-bind('writingMode');
font-weight: v-bind('fontWeight');
border-style: solid;
border-width: v-bind('borderWidth + "px"');
border-radius: v-bind('borderRadius + "px"');
border-color: v-bind('borderColor');
background-color: v-bind('backgroundColor');
}
}