mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-20 02:31:43 +00:00
Merge pull request #4050 from jumpserver/pr@v4@fix_account_privileged
fixed: The account list detail page does not refresh after opening and closing the privilege list field
This commit is contained in:
@@ -172,7 +172,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
@@ -465,6 +465,12 @@ export default {
|
||||
)
|
||||
}
|
||||
},
|
||||
activated() {
|
||||
// 由于组件嵌套较深,有可能导致 Error in activated hook: "TypeError: Cannot read properties of undefined (reading 'getList')" 的问题
|
||||
setTimeout(() => {
|
||||
this.refresh()
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
onUpdateAuthDone(account) {
|
||||
Object.assign(this.account, account)
|
||||
@@ -499,6 +505,10 @@ export default {
|
||||
setTimeout(() => {
|
||||
this.showAddDialog = false
|
||||
}, 800)
|
||||
|
||||
setTimeout(() => {
|
||||
this.refresh()
|
||||
}, 1000)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -485,7 +485,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
@@ -65,7 +65,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
@@ -55,7 +55,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
@@ -32,7 +32,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang='scss' scoped>
|
||||
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user