From 2360da53dd0386ea7f8ec4e26f649aa3451bd8f0 Mon Sep 17 00:00:00 2001 From: Bai Date: Wed, 16 Aug 2023 10:44:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=B7=BB=E5=8A=A0=E8=B4=A6=E5=8F=B7=E6=97=B6?= =?UTF-8?q?=E4=BC=9A=E6=98=8E=E6=96=87=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AccountCreateUpdateForm/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/AccountCreateUpdateForm/index.vue b/src/components/AccountCreateUpdateForm/index.vue index 63523ec02..089f49df7 100644 --- a/src/components/AccountCreateUpdateForm/index.vue +++ b/src/components/AccountCreateUpdateForm/index.vue @@ -304,6 +304,9 @@ export default { form.secret = form[secretType] form.secret = this.encryptPassword ? encryptPassword(form.secret) : form.secret + // 如果不删除会明文显示 + delete form[secretType] + if (!form.secret) { delete form['secret'] }