1
0
mirror of https://github.com/jumpserver/lina.git synced 2025-05-11 01:27:13 +00:00

Merge pull request from jumpserver/pr@dev@fix_account_update

Fixed: Account Update
This commit is contained in:
ZhaoJiSen 2025-03-11 11:09:37 +08:00 committed by GitHub
commit 8d654cae33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions
src/components/Apps/AccountListTable

View File

@ -299,8 +299,8 @@ export default {
},
callback: () => {
setTimeout(() => {
// this.iAsset = {}
// this.account = {}
vm.iAsset = this.asset
vm.account = {}
this.addTemplate = false
this.showAddDialog = true
}, 200)

View File

@ -47,11 +47,11 @@ export const accountOtherActions = (vm) => [
can: vm.$hasPerm('accounts.change_account') && !vm.$store.getters.currentOrgIsRoot,
callback: ({ row }) => {
vm.isUpdateAccount = true
// const data = {
// ...vm.asset,
// ...row.asset
// }
// vm.iAsset = data
const data = {
...vm.asset,
...row.asset
}
vm.iAsset = data
vm.account = row
vm.addTemplate = false
vm.showAddDialog = false