日志趋势图提示信息国际化

This commit is contained in:
dongxiaoyan
2019-02-18 18:06:12 +08:00
parent 67f44a9b30
commit ae4cca4dfe
4 changed files with 10 additions and 5 deletions

View File

@@ -406,7 +406,10 @@ function showActionTransChart(xData,series){
return prev + curr;
});
}
//配置趋势图需特殊提示所以从公共js文件中拿出无数据提示方法到本文件中
var log_data=$.validator.messages.log_no_data;
(function(d) {
"object" === typeof module && module.exports ? module.exports = d: d(Highcharts)
})(function(d) { (function(c) {
@@ -416,8 +419,7 @@ function showActionTransChart(xData,series){
g = c.extend,
h = c.each;
g(f.lang, {
noData: "No data display within a specified time range"
//noData: "There is no data this hour."
noData: log_data
});
f.noData = {
position: {