From 574ec53d237dd1f45d3d064aeb49f38aea4145ff Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 20 Jul 2021 18:22:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(assets):=20=E4=BF=AE=E5=A4=8D=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E7=BD=91=E5=85=B3=E6=B2=A1=E6=9C=89=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue b/src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue index 540fb2b2c..5aedf1c09 100644 --- a/src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue +++ b/src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue @@ -104,7 +104,7 @@ export default { return route }, cleanFormValue(values) { - if (!values.update_password) { + if (this.$route.params.id && !values.update_password) { delete values['password'] } return values