Commit 1293daa6 by liuzhanxin

fix

parent dd79d013
...@@ -64,7 +64,9 @@ ...@@ -64,7 +64,9 @@
data() { data() {
return { return {
currentCalendarData: [], currentCalendarData: [],
signeddates:[], signeddates:[
],
settingData:{}, settingData:{},
submitShow:false, submitShow:false,
...@@ -134,11 +136,12 @@ ...@@ -134,11 +136,12 @@
header: this.GLOBALUTIL.commonHeader, header: this.GLOBALUTIL.commonHeader,
body: null, body: null,
success: (res) => { success: (res) => {
// console.log(JSON.stringify(res))
var calendarData = res.data.data; var calendarData = res.data.data;
var signeddates = calendarData.map((opt)=>{ var signeddates = calendarData.map((opt)=>{
return opt.date; var dt = opt.date.split(" ")[0]
return dt;
}) })
console.log(signeddates)
this.signeddates = signeddates; this.signeddates = signeddates;
} }
}) })
......
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