Commit 3e25e101 authored by 王's avatar

群发助手48小时默认时间

parent b4b8025a
...@@ -857,9 +857,16 @@ ...@@ -857,9 +857,16 @@
this.loading = false; this.loading = false;
}) })
}, },
defaultTime(){
let date = new Date();
let now_seconds = date.getTime();
let start_seconds = now_seconds - 48 * 60 * 60 * 1000;
this.searchFrom.time = [CommonJs.dateFmt(new Date (start_seconds), 'yyyy-MM-dd hh:mm:ss'),CommonJs.dateFmt(new Date (now_seconds), 'yyyy-MM-dd hh:mm:ss')]
}
}, },
mounted(){ mounted(){
this.getMsgList(); this.getMsgList();
this.defaultTime();
}, },
computed:{ computed:{
progress(){ progress(){
......
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