Skip to content

Commit 6c01da6

Browse files
committed
APIAuto: 解决 JSONRequest.parseJSON 死循环
1 parent bd52f85 commit 6c01da6

File tree

1 file changed

+1
-1
lines changed
  • APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/api/apijson

1 file changed

+1
-1
lines changed

APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/api/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

268268
try {
269-
return parseJSON(s);
269+
return JSON.parse(s);
270270
} catch (e) {
271271
return JSON5.parse(s)
272272
}

0 commit comments

Comments
 (0)