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