diff --git a/src/page/wel.vue b/src/page/wel.vue index e6ac8a2..9bbd35b 100644 --- a/src/page/wel.vue +++ b/src/page/wel.vue @@ -958,6 +958,8 @@ export default { let dang=this.getCurrentTime() let timevt=this.timestampToTime(new Date(dang).getTime() + num); let newtime=[dang,timevt] + // console.log(newtime) + // return if(ind==1){ this.$router.push({ path: "/Customer/AgentManagement", @@ -991,7 +993,14 @@ export default { //获取当前时间并打印   let yy = new Date().getFullYear();   let mm = new Date().getMonth()+1; + if(mm<10){ + mm='0'+mm + }   let dd = new Date().getDate(); + // console.log(dd,'时间') + if(dd<10){ + dd='0'+dd + }   let gettime = yy+'-'+mm+'-'+dd   return gettime },