宽高要在canvas标签上通过width 和height属性定义,通过style定义就会出椭圆 <canvas ref='countDown' width="134" height='134'></canvas>