'去除弹出保存用户名密码弹框'

This commit is contained in:
wenyann 2020-06-08 17:45:32 +08:00
parent 4ef02281ce
commit 2181ef42ae
1 changed files with 5 additions and 1 deletions

View File

@ -36,7 +36,7 @@
<el-form-item :label="$t('system_parameter_setting.SMTP_password')" prop="password"> <el-form-item :label="$t('system_parameter_setting.SMTP_password')" prop="password">
</el-form-item> </el-form-item>
<el-input v-model="formInline.password" :placeholder="$t('system_parameter_setting.SMTP_password')" <el-input v-model="formInline.password" :placeholder="$t('system_parameter_setting.SMTP_password')"
show-password></el-input> autocomplete="new-password" type="text" @focus="changeType"></el-input>
</el-col> </el-col>
</el-row> </el-row>
@ -79,6 +79,7 @@
account: 'xjj0608@163.com', account: 'xjj0608@163.com',
password: '2345678',*/ password: '2345678',*/
}, },
readOnly: false,
result: {}, result: {},
showEdit: true, showEdit: true,
showSave: false, showSave: false,
@ -113,6 +114,9 @@
this.query() this.query()
}, },
methods: { methods: {
changeType() {
this.type = 'password'
},
query() { query() {
this.result = this.$get("/system/mail/info", response => { this.result = this.$get("/system/mail/info", response => {