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

Commit3151738

Browse files
raheeliftikhar5ludomikula
authored andcommitted
subpath relative route for app preview
1 parentcbd7ab4 commit3151738

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { AppViewMode, MarketplaceType } from "constants/applicationConstants";
22
import{LocationDescriptor}from"history";
33
import{UserGuideLocationState}from"pages/tutorials/tutorialsConstant";
44
import{DatasourceType}from"@lowcoder-ee/constants/queryConstants";
5+
importhistoryfrom"@lowcoder-ee/util/history";
56

67
exportconstBASE_URL="/";
78
exportconstADMIN_AUTH_URL="/admin/login";
@@ -113,7 +114,7 @@ export const buildAppRouteWithState = (
113114
};
114115

115116
exportfunctionpreview(applicationId:string){
116-
window.open(APPLICATION_VIEW_URL(applicationId,"preview"));
117+
window.open(history.createHref({pathname:APPLICATION_VIEW_URL(applicationId,"preview")}));
117118
}
118119

119120
exportconstbuildGroupId=(groupId:string)=>`${PERMISSION_SETTING}/${groupId}`;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp