From f674637640a0de0abeaacdfd5bc5a45cfee9f2f8 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Thu, 3 Dec 2020 15:01:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=A4=84=E7=90=86=E6=88=90?= =?UTF-8?q?=E5=90=91=E4=B8=8B=E5=8F=96=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 8 ++++---- .../components/property/payFeeDiscount/payFeeDiscount.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app.js b/app.js index 11d945a37..d7f9b1b21 100644 --- a/app.js +++ b/app.js @@ -36,11 +36,11 @@ let opts = { //app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); - app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); - app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts)); + //app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); + //app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts)); -//app.use('/callComponent',proxy('http://127.0.0.1:8012',opts)); -//app.use('/app',proxy('http://127.0.0.1:8012',opts)); +app.use('/callComponent',proxy('http://127.0.0.1:8012',opts)); +app.use('/app',proxy('http://127.0.0.1:8012',opts)); //app.use('/callComponent',proxy('http://192.168.1.16:8012',opts)); //app.use('/app',proxy('http://192.168.1.16:8012',opts)); diff --git a/public/components/property/payFeeDiscount/payFeeDiscount.js b/public/components/property/payFeeDiscount/payFeeDiscount.js index c69acf8a7..3231266ce 100644 --- a/public/components/property/payFeeDiscount/payFeeDiscount.js +++ b/public/components/property/payFeeDiscount/payFeeDiscount.js @@ -63,7 +63,7 @@ $that.payFeeDiscountInfo.feeDiscounts = _payFeeDiscountInfo.data; $that.payFeeDiscountInfo.feeDiscounts.forEach(item => { $that.payFeeDiscountInfo.selectDiscountIds.push(item.discountId); - item.discountPrice = Math.ceil(item.discountPrice); + item.discountPrice = Math.floor(item.discountPrice); }) }, function (errInfo, error) { console.log('请求失败处理');