mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 16:22:57 +08:00
fix:去除border多余class样式
This commit is contained in:
parent
0faf7e24af
commit
ab487d2a1d
@ -14,5 +14,4 @@ const props = defineProps({
|
|||||||
required: true
|
required: true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log(props.optionData)
|
|
||||||
</script>
|
</script>
|
||||||
|
@ -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>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user