fix: 修复更新资产系统平台显示id问题

This commit is contained in:
“huailei000”
2023-04-20 11:19:22 +08:00
parent b7fd52fa6e
commit 6b1c0590ce
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}
})
}

View File

@@ -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]