这是官网提供的关联文件的方法

AV.File.withURL

var file = AV.File.withURL('Satomi_Ishihara.gif', 'http://ww3.sinaimg.cn/bmiddle/596b0666gw1ed70eavm5tg20bq06m7wi.gif');  
var todo = new AV.Object('Todo');  
todo.set('girl',file);  
todo.set('topic','明星');  
todo.save();

有没有其他的关联方法呢?
比如

//design.user = AV.Object.createWithoutData('user', objectId)
design.image = AV.File.createWithoutData(design.image.objectId)

就只有withURL这个可以关联?
createWithotData不可以?
这api就奇怪了

已经解决,

AV.File.withURL
AV.File.createWithoutData

都能文件关联
把这个class删除,重新创建一次就解决了