Commit 3254933a authored by lshan's avatar lshan

ls

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