Merge pull request #3270 from jumpserver/pr@dev@perf_domain_platform

perf: 优化网关更新时协议显示
This commit is contained in:
老广
2023-07-19 10:18:33 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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) => {

View File

@@ -134,7 +134,7 @@ export default {
name: 'GatewayCreate',
query: {
domain: this.object.id,
type: 'linux',
platform_type: 'linux',
category: 'host'
}
}