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" fill="transparent"
:stroke-width="mergedConfig ? mergedConfig.borderWidth : '0'" :stroke-width="mergedConfig ? mergedConfig.borderWidth : '0'"
:stroke="`url(#${gradientId1})`" :stroke="`url(#${gradientId1})`"
:width="rectWidth" :width="rectWidth > 0 ? rectWidth : 0"
:height="rectHeight" :height="rectHeight > 0 ? rectHeight : 0"
/> />
<polyline <polyline
:stroke-width="polylineWidth" :stroke-width="polylineWidth"