mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-26 13:08:08 +00:00
fix: 创建网关找不到平台
This commit is contained in:
@@ -84,7 +84,7 @@ export default {
|
||||
connectivity: connectivityMeta,
|
||||
actions: {
|
||||
formatterArgs: {
|
||||
updateRoute: { name: 'GatewayUpdate', query: { domain: this.object.id }},
|
||||
updateRoute: { name: 'GatewayUpdate', query: { domain: this.object.id, platform_type: 'linux' }},
|
||||
performDelete: ({ row }) => {
|
||||
const id = row.id
|
||||
const url = `/api/v1/assets/gateways/${id}/`
|
||||
@@ -128,7 +128,8 @@ export default {
|
||||
createRoute: {
|
||||
name: 'GatewayCreate',
|
||||
query: {
|
||||
domain: this.object.id
|
||||
domain: this.object.id,
|
||||
platform_type: 'linux'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user