mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-16 15:19:25 +00:00
fix: 修复更新资产系统平台显示id问题
This commit is contained in:
@@ -57,7 +57,7 @@ export default {
|
||||
params: { id: this.$route.params.id },
|
||||
query: {
|
||||
platform: this.asset.platform.id,
|
||||
platform_type: this.asset.type.value
|
||||
type: this.asset.type.value
|
||||
}
|
||||
})
|
||||
}
|
||||
|
@@ -29,7 +29,7 @@ export const filterSelectValues = (values) => {
|
||||
export const assetFieldsMeta = (vm) => {
|
||||
const platformProtocols = []
|
||||
const secretTypes = []
|
||||
const platformType = vm?.$route.query.type
|
||||
const platformType = vm?.$route.query?.type
|
||||
return {
|
||||
address: {
|
||||
rules: [rules.specialEmojiCheck, rules.RequiredChange]
|
||||
|
Reference in New Issue
Block a user