diff --git a/route/static/app/index.js b/route/static/app/index.js index 9ebe17ec1..b82771b17 100755 --- a/route/static/app/index.js +++ b/route/static/app/index.js @@ -137,6 +137,12 @@ function getDiskInfo() { } var LoadColor = setcolor(parseInt(rdata[i].size[3].replace('%', '')), false, 75, 90, 95); + + //判断linode信息是否存在 + var inodes = ''; + if (typeof (rdata[i]['inodes']!=='undefined'){ + inodes = '