mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 06:19:51 +00:00
Merge pull request #3270 from jumpserver/pr@dev@perf_domain_platform
perf: 优化网关更新时协议显示
This commit is contained in:
@@ -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) => {
|
||||
|
@@ -134,7 +134,7 @@ export default {
|
||||
name: 'GatewayCreate',
|
||||
query: {
|
||||
domain: this.object.id,
|
||||
type: 'linux',
|
||||
platform_type: 'linux',
|
||||
category: 'host'
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user