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