您即将离开知乎,请注意您的帐号和财产安全。
https://www.zhangxinxu.com/wordpress/2018/02/crossorigin-canvas-getimagedata-cors/