Commit bbe31a15 by wusiyi

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

parent ae558e7d
...@@ -255,8 +255,8 @@ export default { ...@@ -255,8 +255,8 @@ export default {
mailbox: { countdown: 0, loading: false, timer: null } mailbox: { countdown: 0, loading: false, timer: null }
}, },
methodMap: { methodMap: {
phone: { name: '手机号', method: '手机' }, phone: { name: '安全手机号', method: '手机' },
mailbox: { name: '邮箱', method: '邮箱' }, mailbox: { name: '安全邮箱', method: '邮箱' },
superPassword: { name: '超级密码', method: '超级密码' } superPassword: { name: '超级密码', method: '超级密码' }
}, },
dialogRules: {} dialogRules: {}
...@@ -273,10 +273,12 @@ export default { ...@@ -273,10 +273,12 @@ export default {
const targetName = this.methodMap[this.currentTarget]?.name || '超级密码' const targetName = this.methodMap[this.currentTarget]?.name || '超级密码'
const actionMap = { const actionMap = {
bind: this.securityData[this.currentTarget] bind: this.securityData[this.currentTarget]
? `绑定新安全${targetName}` ? `修改${targetName}`
: `绑定安全${targetName}`, : this.currentTarget === 'superPassword'
unbind: `解绑安全${targetName}`, ? '设置超级密码'
change: `验证原安全${targetName}`, : `绑定${targetName}`,
unbind: `解绑${targetName}`,
change: `验证${targetName}`,
password: '修改超级密码', password: '修改超级密码',
addPassword: '新增超级密码' addPassword: '新增超级密码'
} }
......
...@@ -581,9 +581,7 @@ export default { ...@@ -581,9 +581,7 @@ export default {
return '编辑收款账户' return '编辑收款账户'
case 'changeStatus': case 'changeStatus':
return this.currentRow return this.currentRow
? `${this.currentRow.isEnable ? '禁用' : '启用'}${ ? `${this.currentRow.isEnable ? '禁用' : '启用'}付款账户`
this.currentRow.name
}账户`
: '' : ''
case 'delete': case 'delete':
return `删除${this.currentRow.name}账户` 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