fixed inconsistency of timestamp issue

This commit is contained in:
Marvin Zhang
2019-03-12 20:28:50 +08:00
parent 5b190e5b2b
commit ce5e5d8f1d
19 changed files with 73 additions and 62 deletions

View File

@@ -54,8 +54,8 @@ export default {
if (d.hasOwnProperty(k)) {
if (d[k] === undefined || d[k] === null) continue
if (typeof d[k] === 'object') {
if (d[k].$oid) {
d[k] = d[k].$oid
if (d[k]) {
d[k] = d[k]
}
}
}