mirror of
https://gitee.com/dromara/go-view.git
synced 2024-12-05 21:28:43 +08:00
fix:去除border多余class样式
This commit is contained in:
parent
caa403a8dc
commit
cf92ed55a4
@ -14,5 +14,4 @@ const props = defineProps({
|
||||
required: true
|
||||
}
|
||||
})
|
||||
console.log(props.optionData)
|
||||
</script>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user