From be8ab4681fb1cc041f59fb32c0feee2e65851f35 Mon Sep 17 00:00:00 2001 From: wenyann <64353056+wenyann@users.noreply.github.com> Date: Wed, 10 Jun 2020 11:00:12 +0800 Subject: [PATCH] '' --- .../settings/system/SystemParameterSetting.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/frontend/src/business/components/settings/system/SystemParameterSetting.vue b/frontend/src/business/components/settings/system/SystemParameterSetting.vue index 0fed6518e2..cb35f98613 100644 --- a/frontend/src/business/components/settings/system/SystemParameterSetting.vue +++ b/frontend/src/business/components/settings/system/SystemParameterSetting.vue @@ -36,7 +36,7 @@ + autocomplete="new-password" show-password type="text" @focus="changeType" ref="input"> @@ -80,6 +80,8 @@ account: 'xjj0608@163.com', password: '2345678',*/ }, + + input: '', visible: true, result: {}, showEdit: true, @@ -116,11 +118,8 @@ }, methods: { changeType() { - this.type = 'password' + this.$refs.input = 'password' }, - /*changePass(value) { - this.visible = !(value === 'show'); - },*/ query() { this.result = this.$get("/system/mail/info", response => { this.$set(this.formInline, "host", response.data[0].paramValue);