fix:去除border多余class样式

This commit is contained in:
MTrun 2022-03-26 15:38:52 +08:00
parent caa403a8dc
commit cf92ed55a4
2 changed files with 2 additions and 9 deletions

View File

@ -14,5 +14,4 @@ const props = defineProps({
required: true
}
})
console.log(props.optionData)
</script>

View File

@ -1,6 +1,6 @@
<template>
<div class="bv-border-box-13" ref="domRef">
<svg class="bv-border-svg-container" :width="w" :height="h">
<div class="go-border-box">
<svg :width="w" :height="h">
<path
fill="transparent"
:stroke="colors[0]"
@ -33,10 +33,6 @@
:d="`M ${w - 5} ${h - 30} L ${w - 5} ${h - 5} L ${w - 30} ${h - 5}`"
/>
</svg>
<div class="border-box-content">
<slot></slot>
</div>
</div>
</template>
@ -57,5 +53,3 @@ const colors = computed(() => {
return props.chartConfig.option?.colors
})
</script>
<style lang="scss" scoped></style>