perf: 平台允许修改

This commit is contained in:
ibuler
2023-02-27 15:49:21 +08:00
committed by Jiangjie.Bai
parent 412a7ceba1
commit f3e28f7cd4

View File

@@ -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 }
}