From 40c62219fcb24784fda73fe4e23dcc5694de8926 Mon Sep 17 00:00:00 2001 From: zhuxiao Date: Tue, 4 Jan 2022 12:39:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=94=AF=E4=BB=98=E5=AE=9D?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E5=8F=82=E6=95=B0=E5=BF=85=E5=A1=AB=E9=A1=B9?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jeepay-ui-manager/src/views/isv/IsvPayIfConfigList.vue | 4 +++- .../src/views/mchApp/MchPayConfigAddOrEdit.vue | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/jeepay-ui-manager/src/views/isv/IsvPayIfConfigList.vue b/jeepay-ui-manager/src/views/isv/IsvPayIfConfigList.vue index aa4ce42..d671034 100644 --- a/jeepay-ui-manager/src/views/isv/IsvPayIfConfigList.vue +++ b/jeepay-ui-manager/src/views/isv/IsvPayIfConfigList.vue @@ -244,7 +244,9 @@ export default { if (item.star === '1') { that.ifParams[item.name + '_ph'] = that.ifParams[item.name] ? that.ifParams[item.name] : '请输入' - that.ifParams[item.name] = '' + if (that.ifParams[item.name]) { + that.ifParams[item.name] = '' + } } newItems.push({ diff --git a/jeepay-ui-manager/src/views/mchApp/MchPayConfigAddOrEdit.vue b/jeepay-ui-manager/src/views/mchApp/MchPayConfigAddOrEdit.vue index 2eab699..f755171 100644 --- a/jeepay-ui-manager/src/views/mchApp/MchPayConfigAddOrEdit.vue +++ b/jeepay-ui-manager/src/views/mchApp/MchPayConfigAddOrEdit.vue @@ -38,8 +38,7 @@ - - + @@ -156,7 +155,9 @@ export default { if (item.star === '1') { that.ifParams[item.name + '_ph'] = that.ifParams[item.name] ? that.ifParams[item.name] : '请输入' - that.ifParams[item.name] = '' + if (that.ifParams[item.name]) { + that.ifParams[item.name] = '' + } } newItems.push({