From 2d56ee79120d0115b91f4256c7f959beb99912c2 Mon Sep 17 00:00:00 2001 From: w940853815 <940853815@qq.com> Date: Wed, 5 Mar 2025 10:45:57 +0800 Subject: [PATCH] fix: Platform type was created is wrong --- src/views/assets/Platform/PlatformCreateUpdate.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/assets/Platform/PlatformCreateUpdate.vue b/src/views/assets/Platform/PlatformCreateUpdate.vue index eda9a04f7..b2b6b1b76 100644 --- a/src/views/assets/Platform/PlatformCreateUpdate.vue +++ b/src/views/assets/Platform/PlatformCreateUpdate.vue @@ -124,8 +124,8 @@ export default { this.initial.su_method = this.suMethodLimits[0] }, async setCategories() { - const category = this.$route.query.category - const type = this.$route.query.type + const category = this.$route.query._category + const type = this.$route.query._type const state = await this.$store.dispatch('assets/getAssetCategories') this.fieldsMeta.category_type.el.options = state.assetCategoriesCascader if (category && type) {