const texture2D = new engine.Texture2D();
texture2D.imageSrc = './问题反馈.png'
// 根据Texure2D创建SpriteFrame
const spriteFrame = engine.SpriteFrame.createFromTexture(texture2D);
// canvasSp.spriteFrame = spriteFrame;
let uis: engine.UISprite = this.entity.addComponent(engine.UISprite)
uis.spriteFrame = spriteFrame
b报错 Failed to add component, detail: type="UISprite"