From 8546f9f7358ab893628ab790ca0b00a6eabcbe7a Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Wed, 26 Feb 2025 10:42:23 +0800 Subject: [PATCH] fix: platform --- 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 f899ff2d1..7dcb530fe 100644 --- a/src/views/assets/Platform/PlatformCreateUpdate.vue +++ b/src/views/assets/Platform/PlatformCreateUpdate.vue @@ -135,8 +135,8 @@ export default { return new Promise((resolve, reject) => resolve(true)) }, async setConstraints() { - 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 url = `/api/v1/assets/categories/constraints/?category=${category}&type=${type}` const constraints = await this.$axios.get(url) this.defaultOptions = constraints