mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-19 01:11:07 +00:00
fix: Linux Platform id is not 1, create gateway error
This commit is contained in:
@@ -131,7 +131,7 @@ export default {
|
||||
const { defaultConfig } = this
|
||||
const { node, platform } = this.$route?.query || {}
|
||||
const nodesInitial = node ? [node] : []
|
||||
const platformId = platform || 1
|
||||
const platformId = platform || 'Linux'
|
||||
const url = `/api/v1/assets/platforms/${platformId}/`
|
||||
this.platform = await this.$axios.get(url)
|
||||
const initial = {
|
||||
|
Reference in New Issue
Block a user