mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-25 14:34:46 +00:00
Merge pull request #2911 from jumpserver/pr@dev@fix_createasset_account_editsecret
fix: 修复创建资产-添加账号后编辑账号密文为空的问题
This commit is contained in:
@@ -229,7 +229,6 @@ export default {
|
||||
const secretType = form.secret_type || ''
|
||||
if (secretType !== 'password') {
|
||||
form.secret = form[secretType]
|
||||
delete form[secretType]
|
||||
}
|
||||
form.secret = this.encryptPassword ? encryptPassword(form.secret) : form.secret
|
||||
if (!form.secret) {
|
||||
|
||||
Reference in New Issue
Block a user