mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
fixed: Fixed an issue where Dialog does not close when the asset list is authorized for reclicking the jump
This commit is contained in:
@@ -99,7 +99,7 @@ export default {
|
||||
if (routeQuery && typeof routeQuery === 'object') {
|
||||
detailRoute.query = this.formatterArgs.routeQuery
|
||||
if (detailRoute.query.tab) {
|
||||
detailRoute.query = detailRoute.query.tab
|
||||
detailRoute.name = detailRoute.query.tab
|
||||
}
|
||||
}
|
||||
return detailRoute
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
<Dialog
|
||||
:title="title"
|
||||
:visible.sync="iVisible"
|
||||
top="1vh"
|
||||
:width="width"
|
||||
:show-cancel="false"
|
||||
:show-confirm="false"
|
||||
top="1vh"
|
||||
>
|
||||
<GenericListTable :table-config="tableConfig" :header-actions="headerActions" />
|
||||
</Dialog>
|
||||
@@ -54,7 +54,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
||||
@@ -206,10 +206,13 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
$route: {
|
||||
handler(newVal) {
|
||||
newVal.fullPath.includes('/console/perms/asset-permissions/') && (this.GenericListTableDialogConfig.visible = false)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user