File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
viewer/packages/lowcoder/src Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 11import { default as App } from "antd/es/app" ;
22import { default as ConfigProvider } from "antd/es/config-provider" ;
33import {
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- < Redirect exact from = { BASE_URL } to = { APPLICATION_VIEW_URL ( this . props . defaultHomePage || "" , "view" ) } />
323- ) : (
324- < Redirect exact from = { BASE_URL } to = { ORG_HOME_URL } />
325- )
326- ) : (
327- < Redirect exact from = { BASE_URL } to = { ALL_APPLICATIONS_URL } />
328- ) }
329-
330319 < Redirect to = { `${ COMPONENT_DOC_URL } /input` } path = "/components" />
331320
332321 { developEnv ( ) && (
@@ -392,3 +381,4 @@ export function bootstrap() {
392381 </ Provider >
393382 ) ;
394383}
384+
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { DatasourceType } from "@lowcoder-ee/constants/queryConstants";
55
66export const BASE_URL = "/" ;
77export const USER_AUTH_URL = "/user/auth" ;
8- export const ORG_HOME_URL = "/org/home" ;
98export const COMPONENT_DOC_URL = "/components" ;
109export const SETTING_URL = "/setting" ;
1110export const PERMISSION_SETTING = "/setting/permission" ;
You can’t perform that action at this time.
0 commit comments