File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
client/packages/lowcoder/src
pages/editor/right/PluginPanel Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export function parseCompType(compType: string) {
39
39
}
40
40
41
41
export async function getNpmPackageMeta ( packageName : string ) {
42
- const res = await axios . get < NpmPackageMeta > ( `${ NPM_REGISTRY_URL } /${ packageName } / ` ) ;
42
+ const res = await axios . get < NpmPackageMeta > ( `${ NPM_REGISTRY_URL } /${ packageName } ` ) ;
43
43
if ( res . status >= 400 ) {
44
44
return null ;
45
45
}
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export function PluginItem(props: PluginViewProps) {
67
67
68
68
useEffect ( ( ) => {
69
69
setLoading ( true ) ;
70
- axios . get < NpmPackageMeta > ( `${ NPM_REGISTRY_URL } /${ name } / ` ) . then ( ( res ) => {
70
+ axios . get < NpmPackageMeta > ( `${ NPM_REGISTRY_URL } /${ name } ` ) . then ( ( res ) => {
71
71
if ( res . status >= 400 ) {
72
72
return ;
73
73
}
You can’t perform that action at this time.
0 commit comments