Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1d9bf81

Browse files
committed
remove COMPONENT_DOC_URL of route
1 parentde68621 commit1d9bf81

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

‎viewer/packages/lowcoder/src/app.tsx‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
APP_EDITOR_URL,
66
APPLICATION_VIEW_URL,
77
BASE_URL,
8-
COMPONENT_DOC_URL,
98
DATASOURCE_CREATE_URL,
109
DATASOURCE_EDIT_URL,
1110
DATASOURCE_URL,
@@ -306,17 +305,10 @@ class AppIndex extends React.Component<AppIndexProps, any> {
306305
path={INVITE_LANDING_URL}
307306
component={LazyInviteLanding}
308307
/>
309-
<LazyRoute
310-
path={`${COMPONENT_DOC_URL}/:name`}
311-
component={LazyComponentDoc}
312-
/>
313308
<LazyRoute
314309
path={`/playground/:name/:dsl`}
315310
component={LazyComponentPlayground}
316311
/>
317-
318-
<Redirectto={`${COMPONENT_DOC_URL}/input`}path="/components"/>
319-
320312
{developEnv()&&(
321313
<>
322314
<LazyRoute

‎viewer/packages/lowcoder/src/constants/routesURL.ts‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { DatasourceType } from "@lowcoder-ee/constants/queryConstants";
55

66
exportconstBASE_URL="/";
77
exportconstUSER_AUTH_URL="/user/auth";
8-
exportconstCOMPONENT_DOC_URL="/components";
98

109

1110
exportconstALL_APPLICATIONS_URL="/apps";
@@ -37,9 +36,8 @@ export const isAuthUnRequired = (pathname: string): boolean => {
3736
pathname.startsWith("/invite/")||
3837
pathname.startsWith(USER_AUTH_URL)||
3938
pathname.endsWith('/auth/login')||
40-
pathname.endsWith('/auth/register')||
41-
pathname.startsWith(COMPONENT_DOC_URL)
42-
);
39+
pathname.endsWith('/auth/register')
40+
)
4341
};
4442

4543
exportconstbuildDatasourceCreateUrl=(datasourceType:DatasourceType)=>
@@ -61,6 +59,4 @@ export const buildAppRouteWithState = (
6159

6260
exportfunctionpreview(applicationId:string){
6361
window.open(APPLICATION_VIEW_URL(applicationId,"preview"));
64-
}
65-
66-
62+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp