diff --git a/src/views/assets/Platform/PlatformDetail/index.vue b/src/views/assets/Platform/PlatformDetail/index.vue index cda81dbd5..a1273c89f 100644 --- a/src/views/assets/Platform/PlatformDetail/index.vue +++ b/src/views/assets/Platform/PlatformDetail/index.vue @@ -25,6 +25,7 @@ export default { TaskDetail: {}, actions: {}, config: { + url: '/api/v1/assets/platforms', title: this.$t('PlatformDetail'), activeMenu: 'Detail', submenu: [ diff --git a/src/views/assets/Platform/PlatformList.vue b/src/views/assets/Platform/PlatformList.vue index ac5921987..c75132e41 100644 --- a/src/views/assets/Platform/PlatformList.vue +++ b/src/views/assets/Platform/PlatformList.vue @@ -7,7 +7,13 @@ @tab-click="changeMoreCreates" > - + @@ -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: {