Merge pull request #4755 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

View File

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

View File

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