diff --git a/src/views/system/ManuallyCreatingTasks/index.vue b/src/views/system/ManuallyCreatingTasks/index.vue index 057f556..c966a32 100644 --- a/src/views/system/ManuallyCreatingTasks/index.vue +++ b/src/views/system/ManuallyCreatingTasks/index.vue @@ -175,7 +175,6 @@ :picker-options="pickerOptions" @input="input(item,index)" @focus="setCurrentTime(item,index)" - :default-time="currentDate" ref="datePicker" > @@ -544,7 +543,6 @@ export default { name: "ManuallyCreatingTasks", data() { return { - // currentDate: '', time: '', datePickerVisible: true, show: 0, @@ -763,8 +761,8 @@ export default { item.routeNodeDay = "" console.log(e, item, 'value3') let yy = new Date().getFullYear(); - let mm = (new Date().getMonth() + 1) < 10 ? '0' + (new Date().getMonth() + 1) : (new Date().getMonth() + 1); - let dd = (new Date().getDate()) < 10 ? '0' + (new Date().getDate() + 1) : (new Date().getDate() + 1); + let mm = (new Date().getMonth() + 1) < 10 ? '0' + (new Date().getMonth()) : (new Date().getMonth()); + let dd = (new Date().getDate()) < 10 ? '0' + (new Date().getDate()) : (new Date().getDate()); let hh = new Date().getHours() < 10 ? '0' + new Date().getHours() : new Date().getHours(); let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes() : new Date().getMinutes(); let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds() : new Date().getSeconds();