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

Commit81c883e

Browse files
committed
remove org/home of route
1 parenta25b6ae commit81c883e

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

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

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import{defaultasApp}from"antd/es/app";
22
import{defaultasConfigProvider}from"antd/es/config-provider";
33
import{
4-
ORG_HOME_URL,
54
ALL_APPLICATIONS_URL,
65
APP_EDITOR_URL,
76
APPLICATION_VIEW_URL,
@@ -317,16 +316,6 @@ class AppIndex extends React.Component<AppIndexProps, any> {
317316
component={LazyComponentPlayground}
318317
/>
319318

320-
{this.props.isFetchUserFinished&&this.props.defaultHomePage ?(
321-
!this.props.orgDev ?(
322-
<Redirectexactfrom={BASE_URL}to={APPLICATION_VIEW_URL(this.props.defaultHomePage||"","view")}/>
323-
) :(
324-
<Redirectexactfrom={BASE_URL}to={ORG_HOME_URL}/>
325-
)
326-
) :(
327-
<Redirectexactfrom={BASE_URL}to={ALL_APPLICATIONS_URL}/>
328-
)}
329-
330319
<Redirectto={`${COMPONENT_DOC_URL}/input`}path="/components"/>
331320

332321
{developEnv()&&(
@@ -392,3 +381,4 @@ export function bootstrap() {
392381
</Provider>
393382
);
394383
}
384+

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

Lines changed: 0 additions & 1 deletion
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-
exportconstORG_HOME_URL="/org/home";
98
exportconstCOMPONENT_DOC_URL="/components";
109
exportconstSETTING_URL="/setting";
1110
exportconstPERMISSION_SETTING="/setting/permission";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp