Creator2.0. 设置spriteFrame报错

this.campSpr.spriteFrame = new cc.SpriteFrame(cc.url.raw(config.icon));
请问升级到2.0后,纹理替换怎么写才不会报错啊?