javascript 利用canvas 实现图片的标注,把标注像素点传入到后端 - width + '
:style="{
width: canvasProp.width + 'px',
height: canvasProp.height + 'px',
border: '1px solid #ccc'
}"
>
ref="canvas"
:width="canvasProp.width"
:height="canvasProp.height" 拼多多帮助力入口
@mousedown="onMouseDown"
@mousemove="onMouseMove"
@mouseup="onMouseUp"
:style="{
width: canvasProp.width + 'px',
height: canvasProp.height + 'px'
}"
>