Commit bbe31a15 by wusiyi

fix: 修改验证码操作类型名称

parent ae558e7d
......@@ -255,8 +255,8 @@ export default {
mailbox: { countdown: 0, loading: false, timer: null }
},
methodMap: {
phone: { name: '手机号', method: '手机' },
mailbox: { name: '邮箱', method: '邮箱' },
phone: { name: '安全手机号', method: '手机' },
mailbox: { name: '安全邮箱', method: '邮箱' },
superPassword: { name: '超级密码', method: '超级密码' }
},
dialogRules: {}
......@@ -273,10 +273,12 @@ export default {
const targetName = this.methodMap[this.currentTarget]?.name || '超级密码'
const actionMap = {
bind: this.securityData[this.currentTarget]
? `绑定新安全${targetName}`
: `绑定安全${targetName}`,
unbind: `解绑安全${targetName}`,
change: `验证原安全${targetName}`,
? `修改${targetName}`
: this.currentTarget === 'superPassword'
? '设置超级密码'
: `绑定${targetName}`,
unbind: `解绑${targetName}`,
change: `验证${targetName}`,
password: '修改超级密码',
addPassword: '新增超级密码'
}
......
......@@ -581,9 +581,7 @@ export default {
return '编辑收款账户'
case 'changeStatus':
return this.currentRow
? `${this.currentRow.isEnable ? '禁用' : '启用'}${
this.currentRow.name
}账户`
? `${this.currentRow.isEnable ? '禁用' : '启用'}付款账户`
: ''
case 'delete':
return `删除${this.currentRow.name}账户`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment