NEZ-420 feat:新增text类型图表

This commit is contained in:
wangwenrui
2020-10-20 20:53:21 +08:00
parent cf933dbbd4
commit 0815df4222
9 changed files with 493 additions and 50 deletions

View File

@@ -335,7 +335,11 @@
return new Promise(resolve => {
this.$get('/healthy').then(response=>{
if(response.code==200){
this.system_server_time=this.utcTimeToTimezone(response.time)
if(response.time){
this.system_server_time=this.utcTimeToTimezone(response.time)
}else{
this.system_server_time=bus.computeTimezone(new Date().getTime())
}
}else{
this.system_server_time=bus.computeTimezone(new Date().getTime())
}