Commit 3254933a authored by lshan's avatar lshan

ls

parent 2a2e29d2
......@@ -132,12 +132,14 @@ export default Vue.extend({
this.show=!this.show
},
getTime(){
let date=new Date();
setInterval((res: any) => {
let date=new Date();
let mf = date.getMinutes()<10 ? '0'+date.getMinutes() : date.getMinutes();
let s=date.getSeconds();
  let time = date.getHours()<12 ? date.getHours() +':'+ mf +'AM' : date.getHours() % 12 +':'+ mf +'PM';
  this.gettime = time ;
  this.gettime = time;
},1000)
},
clickTag(name:string){
if(name==='会议'){
this.class2=''
......
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