From e42dbaf88a4274c79f2c0ab58d3f170762f38dcf Mon Sep 17 00:00:00 2001 From: LazzYang <54582093+lazyoldman@users.noreply.github.com> Date: Mon, 11 Nov 2019 12:04:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=20=E8=B0=83=E5=A2=9E=20=20=E4=B8=8B?= =?UTF-8?q?=E8=B7=8Cxx=E5=85=83=E4=B8=BA=E6=98=BE=E7=A4=BA=E4=B8=8B?= =?UTF-8?q?=E8=B7=8C=E7=9A=84=E6=AD=A3=E6=95=B0=20(#3402)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/routes/pork-price/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/pork-price/index.js b/lib/routes/pork-price/index.js index f9bfe109d..b7d274672 100644 --- a/lib/routes/pork-price/index.js +++ b/lib/routes/pork-price/index.js @@ -26,7 +26,7 @@ module.exports = async (ctx) => { const change = (today - yesterday).toFixed(2); let description = `较昨日价格, 每公斤上涨${change}元`; if (yesterday > today) { - description = `较昨日价格, 下跌${change}元`; + description = `较昨日价格, 下跌${-change}元`; } if (yesterday === today) { description = '较昨日价格持平';