<svg viewBox='0 0 500 500' preserveAspectRatio='xMidYMid meet' xmlns="http://www.w3.org/2000/svg"> <circle cx='100' cy='100' r='100' stroke-width='10' stroke='#8DC960' stroke-dasharray='0 50'> </circle> </svg>
这个可以正常显示,
<svg viewbox='0 0 500 500' preserveAspectRatio='xMidYMid meet' xmlns="http://www.w3.org/2000/svg"> <circle cx='100' cy='100' r='100' stroke-width='10' stroke='#8DC960' stroke-dasharray='0 50'> </circle> </svg>
而这个就不能正常显示了。svg的属性区分大小写,谨记!!!