typeof null,toDataURL 小小程序员02 2018-07-23 227 阅读1分钟 typeof null // object toDataURL // canvas把canvas转化为base64,base64可以作为img的src