Compatibility enhancement

This commit is contained in:
jiaming743 2019-08-27 11:30:28 +08:00
parent e069d52544
commit 9f00506e73
1 changed files with 2 additions and 2 deletions

View File

@ -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"
/>
<polyline
:stroke-width="polylineWidth"