Skip to content

Commit

Permalink
perf: Platform
Browse files Browse the repository at this point in the history
  • Loading branch information
feng626 committed Feb 11, 2025
1 parent ff76917 commit 4138009
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/views/assets/Platform/PlatformDetail/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default {
TaskDetail: {},
actions: {},
config: {
url: '/api/v1/assets/platforms',
title: this.$t('PlatformDetail'),
activeMenu: 'Detail',
submenu: [
Expand Down
10 changes: 9 additions & 1 deletion src/views/assets/Platform/PlatformList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
@tab-click="changeMoreCreates"
>
<keep-alive>
<GenericListTable ref="genericListTable" :header-actions="headerActions" :table-config="tableConfig" />
<GenericListTable
ref="genericListTable"
:create-drawer="createDrawer"
:detail-drawer="detailDrawer"
:header-actions="headerActions"
:table-config="tableConfig"
/>
</keep-alive>
</TabPage>
</template>
Expand All @@ -26,6 +32,8 @@ export default {
data() {
const vm = this
return {
createDrawer: () => import('@/views/assets/Platform/PlatformCreateUpdate.vue'),
detailDrawer: () => import('@/views/assets/Platform/PlatformDetail/index.vue'),
loading: true,
platformPageHelpMsg: this.$t('PlatformPageHelpMsg'),
tab: {
Expand Down

0 comments on commit 4138009

Please sign in to comment.