This commit is contained in:
2026-03-27 13:24:04 +08:00
parent c6c262169d
commit 7d3e6654fd
17 changed files with 2653 additions and 747 deletions

View File

@@ -67,8 +67,8 @@
<el-form-item :label="$t('mailboxConfig.password')" prop="password">
<el-input
v-model="form.password"
type="password"
show-password
type="text"
clearable
autocomplete="new-password"
></el-input>
@@ -256,6 +256,7 @@
today_sent: item.today_sent,
state: item.state,
remaining_today: item.remaining_today,
smtp_password: item.smtp_password,
};
}.bind(this));
this.tableData = list;
@@ -289,12 +290,14 @@
this.$nextTick(function() { if (this.$refs.formRef) this.$refs.formRef.clearValidate(); }.bind(this));
},
handleEdit(row) {
console.log("🚀 ~ handleEdit ~ row:", row);
this.dialogTitle = this.$t('mailboxConfig.dialogEdit');
this.form = {
id: row.id,
journal_id: row.journal_id,
account: row.account || row.smtp_user || '',
password: '',
password: row.smtp_password || '',
smtp_from_name: row.smtp_from_name || '',
smtp_host: row.smtp_host || '',
smtp_port: row.smtp_port != null && row.smtp_port !== '' ? String(row.smtp_port) : '',