fix: condition always false (#2575)

This commit is contained in:
Henry Wang
2019-07-08 11:45:32 +08:00
committed by DIYgod
parent d09affa703
commit bb316d0c98
+1 -1
View File
@@ -44,7 +44,7 @@ module.exports = async (ctx) => {
} else if (value < 0) {
description += '跌幅';
title += `📉 ${data.percentage}%`;
} else if (value === 0) {
} else if (value === '0.0000') {
description += '无波动';
title += '持平';
}