From 2183e6bc89721ef4b28f6258dfae6041e6859ef5 Mon Sep 17 00:00:00 2001 From: feng626 <1304903146@qq.com> Date: Thu, 16 Jun 2022 12:31:03 +0800 Subject: [PATCH] perf: user confirm input --- src/components/UserConfirmDialog/index.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/UserConfirmDialog/index.vue b/src/components/UserConfirmDialog/index.vue index 3fbe1ffbf..919800312 100644 --- a/src/components/UserConfirmDialog/index.vue +++ b/src/components/UserConfirmDialog/index.vue @@ -14,7 +14,7 @@
{{ Label }}
- + {{ HelpText }} @@ -42,6 +42,16 @@ export default { visible: false } }, + + computed: { + showPassword() { + if (this.ConfirmType === 'password') { + console.log('--------------') + return { 'show-password': true } + } + return {} + } + }, watch: { visible(val) { if (!val) {