perf:修改promserver 状态悬浮显示内容

This commit is contained in:
wangwenrui
2020-03-27 17:39:26 +08:00
parent dcd973ef16
commit 9351cd2684

View File

@@ -904,7 +904,7 @@
},
formatPingTime:function(str){
if(!str || str == ''){
return 'Last reply:Never';
return this.$t('asset.assetStatPre')+this.$t('asset.assetStatDown');
}
let ds='-';
let ts=':';
@@ -916,7 +916,7 @@
let minutes=time.getMinutes() > 9 ?time.getMinutes():('0'+time.getMinutes());
let seconds=time.getSeconds() > 9 ? time.getSeconds():('0'+time.getSeconds());
return 'Last reply:'+year+ds+month+ds+day+' '+hours+ts+minutes+ts+seconds;
return this.$t('asset.assetStatPre')+year+ds+month+ds+day+' '+hours+ts+minutes+ts+seconds;
}
},