Selaa lähdekoodia

fix:去除border多余class样式

MTrun 3 vuotta sitten
vanhempi
sitoutus
ab487d2a1d

+ 0 - 1
src/packages/components/Charts/Pies/PieCommon/config.vue

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

+ 2 - 8
src/packages/components/Decorates/Borders/borderCommon/index.vue

@@ -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>