问题遇到的现象和发生背景
描绘文字可以,图片就不行
问题相关代码,请勿粘贴截图
运行结果及报错内容
Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or OffscreenCanvas or SVGImageElement or VideoFrame)'.