@@ -252,7 +252,12 @@ export default {
return (((disk.total - disk.available) / disk.total) * 100).toFixed(2);
},
progressStatus(disk) {
- if (!disk.total) {
+ if (disk.state == 0){
+ return "success";
+ }else {
+ return "exception";
+ }
+ /* if (!disk.total) {
return "success";
}
@@ -263,7 +268,7 @@ export default {
return "warning";
} else {
- }
+ }*/
// 事件
//apimark//