diff --git a/lib/components/percentPond/src/main.vue b/lib/components/percentPond/src/main.vue index dd45060..dbf45b6 100644 --- a/lib/components/percentPond/src/main.vue +++ b/lib/components/percentPond/src/main.vue @@ -22,8 +22,8 @@ fill="transparent" :stroke-width="mergedConfig ? mergedConfig.borderWidth : '0'" :stroke="`url(#${gradientId1})`" - :width="rectWidth" - :height="rectHeight" + :width="rectWidth > 0 ? rectWidth : 0" + :height="rectHeight > 0 ? rectHeight : 0" /> ", "description": "Vue Large screen data display component library", "main": "lib/index.js",