Issua shader cocos 3x

this.avatar.spriteFrame = spriteFrame
this.avatar.material = this.mat
When I change the spriteframe of an image, the shader of that image doesn’t work. Everyone helped me with!