Commit ea859c09 by fengzhaoyu

Merge branch 'dev' of http://gitlab.roboming.com/fengzhaoyu/schedule into dev

parents e399cf2e 164c7af5
......@@ -76,8 +76,8 @@ create.Page({
},
parentStr: '',
onLoad(query) {
// let date = new Date(this.$store.data.startTime.replace(/-/g, "/"));
let date = new Date();
let date = new Date(this.$store.data.startTime.replace(/-/g, "/"));
// let date = new Date();
let year = date.getFullYear();
let month = padZero(date.getMonth() + 1);
let day = padZero(date.getDate());
......
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