新手,各位大佬多多包涵Vue
<btn @click="width++">
data() { width: 1}
canvasctx.beginPath()
lineWidth = this.widthwidth的值動態改變,canvas的lineWidth也會相應改變我試了好像不行,剛接觸canvas,不是很了解,請教各位大佬,如何做到這一點
添加回答
舉報
0/150
提交
取消