fix:去除border多余class样式

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

View File

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

View File

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