mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
fix: platform
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user