Skip to content

Commit

Permalink
Fixed: Permission Rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoJiSen committed Mar 12, 2025
1 parent e9bb18e commit 6de0dcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ export default {
}
}
},
async mounted() {
const drawActionMeta = await this.$store.dispatch('common/getDrawerActionMeta')
console.log('drawActionMeta', drawActionMeta)
},
methods: {}
}
</script>
8 changes: 3 additions & 5 deletions src/views/users/User/UserDetail/UserAssetPermissionRules.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<template>
<TwoCol>
<ListTable
:create-drawer="createDrawer"
:header-actions="headerActions"
:table-config="tableConfig"
/>
</TwoCol>
</template>

<script>
import ListTable from '@/components/Table/ListTable'
import { DrawerListTable as ListTable } from '@/components'
import { AssetPermissionTableMeta, UserAssetPermissionListPageSearchConfigOptions } from '@/views/perms/const'
import TwoCol from '@/layout/components/Page/TwoColPage.vue'
Expand All @@ -26,6 +27,7 @@ export default {
},
data() {
return {
createDrawer: () => import('@/views/perms/AssetPermission/AssetPermissionCreateUpdate'),
tableConfig: {
url: `/api/v1/perms/asset-permissions/?user_id=${this.object.id}`,
hasTree: true,
Expand Down Expand Up @@ -53,7 +55,3 @@ export default {
}
}
</script>

<style scoped>
</style>

0 comments on commit 6de0dcf

Please sign in to comment.