使用onLoad进行时间修改,时间未更新
data() {
return {
statusBarHeight: statusBarHeight, //系统导航条高度
wdata: JSON.parse(JSON.stringify(workData)),
startTime: "2020-01-01 15:00:00",
enTime: "2020-01-01 15:40:00"
};
},
onLoad(options) {
this.wdata = eval('(' + options.data + ')')
this.startTime = this.workData.cruuent_date + " " + this.workData.cruuent_time
this.enTime = this.workData.cruuent_date + " " + this.workData.act_time
// this.getActivityDetails();
},
0 个回复