mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 14:25:23 +00:00
perf: 平台允许修改
This commit is contained in:
@@ -59,7 +59,7 @@ export const assetFieldsMeta = (vm) => {
|
|||||||
el: {
|
el: {
|
||||||
multiple: false,
|
multiple: false,
|
||||||
ajax: {
|
ajax: {
|
||||||
url: '/api/v1/assets/platforms/',
|
url: `/api/v1/assets/platforms/?type=${vm.$route.query.platform_type}`,
|
||||||
transformOption: (item) => {
|
transformOption: (item) => {
|
||||||
return { label: item.name, value: item.id }
|
return { label: item.name, value: item.id }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user