mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-17 15:52:32 +00:00
fix: 修复创建资产-添加账号后编辑账号密文为空的问题
This commit is contained in:
@@ -229,7 +229,6 @@ export default {
|
|||||||
const secretType = form.secret_type || ''
|
const secretType = form.secret_type || ''
|
||||||
if (secretType !== 'password') {
|
if (secretType !== 'password') {
|
||||||
form.secret = form[secretType]
|
form.secret = form[secretType]
|
||||||
delete form[secretType]
|
|
||||||
}
|
}
|
||||||
form.secret = this.encryptPassword ? encryptPassword(form.secret) : form.secret
|
form.secret = this.encryptPassword ? encryptPassword(form.secret) : form.secret
|
||||||
if (!form.secret) {
|
if (!form.secret) {
|
||||||
|
Reference in New Issue
Block a user