typeof null,toDataURL

227 阅读1分钟
typeof null // object   
toDataURL // canvas把canvas转化为base64,base64可以作为img的src