From 14ba501f2b6eeeaa8adcc5905f4c2b4489eeb1e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com> Date: Tue, 18 Jul 2023 19:57:31 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E7=BD=91=E5=85=B3?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=B6=E5=8D=8F=E8=AE=AE=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue | 2 +- src/views/assets/Domain/DomainDetail/GatewayList.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue b/src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue index f14ead8f3..20545bf4f 100644 --- a/src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue +++ b/src/views/assets/Domain/DomainDetail/GatewayCreateUpdate.vue @@ -11,7 +11,7 @@ export default { BaseAssetCreateUpdate }, data() { - const platformType = this.$route.query.type + const platformType = this.$route.query.platform_type return { url: '/api/v1/assets/gateways/', updateInitial: async(initial) => { diff --git a/src/views/assets/Domain/DomainDetail/GatewayList.vue b/src/views/assets/Domain/DomainDetail/GatewayList.vue index b1727015f..3c84c65cc 100644 --- a/src/views/assets/Domain/DomainDetail/GatewayList.vue +++ b/src/views/assets/Domain/DomainDetail/GatewayList.vue @@ -134,7 +134,7 @@ export default { name: 'GatewayCreate', query: { domain: this.object.id, - type: 'linux', + platform_type: 'linux', category: 'host' } }