精灵设置spriteFrame报错 Cannot read property 'getHash' of undefined

image

show是继承基类的方法
我想 当我点击场景图片的时候 会显示一张原始图像
但是这个spriteFrame 只有一设置 编辑器 就会报
Preview] Cannot read property ‘getHash’ of undefined

image
this.temp1 设置的 spriteFrame 是空的,没有 imageData