使用canvas的drawimage时候,drawimage(src,....),很奇怪的bug,src采用canvas对象后就会报错
Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'
按照错误提醒,src可以是HTMLCanvasElement ,但是使用了canvas对象却报错,请问是什么回事