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

Commit92e35b0

Browse files
committed
Java: MultiDataSource 解决 UnitAuto, SQLAuto, UIGO 中 JSONRequest.parseJSON 死循环
1 parenta02c8ad commit92e35b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/sql/apijson/JSONRequest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ function parseJSON(s) {
266266
}
267267
// alertOfDebug("parseJSON s = \n" + s);
268268

269-
returnparseJSON(s);
269+
returnJSON.parse(s);
270270
}
271271

272272
/**测试用的提示

‎APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/ui/apijson/JSONRequest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ function parseJSON(s) {
232232
}
233233
// alertOfDebug("parseJSON s = \n" + s);
234234

235-
returnparseJSON(s);
235+
returnJSON.parse(s);
236236
}
237237

238238
/**测试用的提示

‎APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/unit/apijson/JSONRequest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ function parseJSON(s) {
266266
returnnull;
267267
}
268268
try{
269-
returnparseJSON(s);
269+
returnJSON.parse(s);
270270
}catch(e){
271271
returnJSON5.parse(s)
272272
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp