调试如下:

Uncaught TypeError: this._data[i].getCreated is not a function(…)(anonymous function) @ VM172:1InjectedScript._evaluateOn @ VM34:145InjectedScript._evaluateAndWrap @ VM34:137InjectedScript.evaluateOnCallFrame @ VM34:151addLike @ CommentPage.js:90proxiedMethod @ createPrototypeProxy.js:44(anonymous function) @ CommentCon.js:41(anonymous function) @ ArtCommentService.js:70tryCallOne @ core.js:37(anonymous function) @ core.js:123JSTimersExecution.callbacks.(anonymous function) @ JSTimers.js:79callTimer @ JSTimersExecution.js:84callImmediatesPass @ JSTimersExecution.js:183callImmediates @ JSTimersExecution.js:198(anonymous function) @ MessageQueue.js:164guard @ MessageQueue.js:42__callImmediates @ MessageQueue.js:164(anonymous function) @ MessageQueue.js:112guard @ MessageQueue.js:42callFunctionReturnFlushedQueue @ MessageQueue.js:110onmessage @ debuggerWorker.js:39
this._data[i].get('likeNum')
0
this._data[i].get('createdAt')
undefined
this._data[i].get('createdAt')
undefined

AV.Object#clone: Creates a new model with identical attributes to this one

createAt 是不会被复制的,save 之后,这个新的对象会有自己的 createAt 属性。