mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 14:25:23 +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
|
BaseAssetCreateUpdate
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
const platformType = this.$route.query.type
|
const platformType = this.$route.query.platform_type
|
||||||
return {
|
return {
|
||||||
url: '/api/v1/assets/gateways/',
|
url: '/api/v1/assets/gateways/',
|
||||||
updateInitial: async(initial) => {
|
updateInitial: async(initial) => {
|
||||||
|
@@ -134,7 +134,7 @@ export default {
|
|||||||
name: 'GatewayCreate',
|
name: 'GatewayCreate',
|
||||||
query: {
|
query: {
|
||||||
domain: this.object.id,
|
domain: this.object.id,
|
||||||
type: 'linux',
|
platform_type: 'linux',
|
||||||
category: 'host'
|
category: 'host'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user