@ -231,11 +231,11 @@ export default {
},
// 判断是否有 - 号
getItemClass(item) {
// if (item && item.increaseStr && item.increaseStr.startsWith('-')) {
if (item && item.increaseStr && item.increaseStr.indexOf('-') === 0) {
// return 'red';
return 'red';
// } else {
} else {
// return 'green';
return 'green';
// }
}