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

Commit1873519

Browse files
small fix
1 parent2f4504f commit1873519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎client/packages/lowcoder/src/base/codeEditor/autoFormat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ async function formatJsonWithJsSnippetsImpl(text: string) {
130130
returnsegment;
131131
}));
132132

133-
return(awaitformattedJSON).replace(/("{{\d+}}")|({{\d+}})|(\\\\{\\\\{\d+\\\\}\\\\})/g,(s)=>{
133+
return(awaitformattedJSON).replace(/("{{\d+}}")|({{\d+}})|(\\\\{\\\\{\d+\\\\}\\\\})/g,(s:string)=>{
134134
constindex=parseInt(
135135
s.startsWith('"{{') ?s.slice(3,-3) :s.startsWith("{{") ?s.slice(2,-2) :s.slice(6,-6)
136136
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp