Commit 97af81a7 authored by 李静's avatar 李静

a

parent 33df9c3c
......@@ -406,7 +406,7 @@
console.log(result)
if (result.schedule) {
const currentTime = this.timestampToTime(result.schedule.date)
console.log(currentTime)
// console.log(currentTime)
this.currentDate = currentTime
this.event = result.schedule.title
}
......@@ -486,6 +486,7 @@
const event = {}
event.date = moment(item[self.date]).format('X') * 1000
event.title = item[self.title]
// event.title2 = item.loginid
self.schedules.push(event)
})
console.log(self.schedules)
......
......@@ -27,6 +27,7 @@
return {
show: false,
width: '300px',
// title为需要传入的事件所对应的的字段名,date为时间所对应的字段
title: 'username',
date: 'createTime'
}
......
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