Explicitly set the SVG width and height

This commit is contained in:
jiaming743
2019-07-05 13:49:42 +08:00
parent 72433f8ff1
commit 6d4baac3b6
10 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="dv-decoration-8" :ref="ref">
<svg>
<svg :width="width" :height="height">
<polyline
stroke="#3f96a5"
stroke-width="2"