mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
fix:tags id
This commit is contained in:
@@ -100,7 +100,7 @@ const SystemConfig = forwardRef<SystemConfigHandle>((_,ref) => {
|
||||
const {code,data,msg} = response
|
||||
if(code === STATUS_CODE.SUCCESS){
|
||||
setTagOptionList(data.tags?.map((x:EntityItem)=>{return {
|
||||
label:x.name, value:x.id
|
||||
label:x.name, value:x.name
|
||||
}})||[])
|
||||
setServiceClassifyOptionList(data.catalogues)
|
||||
|
||||
@@ -121,7 +121,7 @@ const SystemConfig = forwardRef<SystemConfigHandle>((_,ref) => {
|
||||
...data.service,
|
||||
team:data.service.team.id,
|
||||
catalogue:data.service.catalogue?.id,
|
||||
tags:data.service.tags?.map((x:EntityItem)=>x.id),
|
||||
tags:data.service.tags?.map((x:EntityItem)=>x.name),
|
||||
logoFile:[
|
||||
{
|
||||
uid: '-1', // 文件唯一标识
|
||||
|
||||
Reference in New Issue
Block a user