Commit 33df9c3c authored by 李静's avatar 李静

a

parent 72556285
...@@ -484,8 +484,8 @@ ...@@ -484,8 +484,8 @@
console.log(resp.data, '=========') console.log(resp.data, '=========')
_.each(resp.data, function(item) { _.each(resp.data, function(item) {
const event = {} const event = {}
event.date = moment(item[this.date]).format('X') * 1000 event.date = moment(item[self.date]).format('X') * 1000
event.title = item[this.title] event.title = item[self.title]
self.schedules.push(event) self.schedules.push(event)
}) })
console.log(self.schedules) console.log(self.schedules)
......
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
return { return {
show: false, show: false,
width: '300px', width: '300px',
title: '', title: 'username',
event: '' date: 'createTime'
} }
}, },
filters: { filters: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment