显示图片是只需要hmUI.createWidget(hmUI.widget.IMG)这一个吗还是还需要其他的东西
能不能哪位大佬帮我看下哪出问题了
const realtrue = ["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","0"];
const img1 = hmUI.createWidget(hmUI.widget.IMG)
img1.setProperty(hmUI.prop.MORE,{
x: 40,
y: 80,
src: "himg/"+realtrue[0]+".png"
})
能不能哪位大佬帮我看下哪出问题了
const realtrue = ["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","0"];
const img1 = hmUI.createWidget(hmUI.widget.IMG)
img1.setProperty(hmUI.prop.MORE,{
x: 40,
y: 80,
src: "himg/"+realtrue[0]+".png"
})