Explorar el Código

fix: 资源库下发

100011797 hace 3 años
padre
commit
2cc54c4a38
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/pages/edge/Resource/Issue/Result.tsx

+ 1 - 1
src/pages/edge/Resource/Issue/Result.tsx

@@ -29,7 +29,7 @@ const Publish = (props: Props) => {
         targetId: props.data.targetId,
         targetType: props.data.targetType,
         category: props.data.category,
-        metadata: JSON.parse(props.data?.metadata || '{}'),
+        metadata: props.data?.metadata,
       }),
     };
     const url = new URLSearchParams();