mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-01 15:11:16 +00:00
Merge pull request #3133 from jumpserver/pr@dev@account
fix: 修改创建资产时创建账号的顺序
This commit is contained in:
commit
dbe4c232c1
@ -74,6 +74,7 @@ export default {
|
|||||||
delete values['accounts']
|
delete values['accounts']
|
||||||
} else {
|
} else {
|
||||||
const accounts = values?.accounts || []
|
const accounts = values?.accounts || []
|
||||||
|
accounts.reverse()
|
||||||
values.accounts = accounts.map((item) => {
|
values.accounts = accounts.map((item) => {
|
||||||
item['secret'] = encryptPassword(item['secret'])
|
item['secret'] = encryptPassword(item['secret'])
|
||||||
return item
|
return item
|
||||||
|
Loading…
Reference in New Issue
Block a user