优化首页的下拉刷新、数据排序、绑定后刷新
This commit is contained in:
2
node_modules/axios/lib/defaults/index.js
generated
vendored
2
node_modules/axios/lib/defaults/index.js
generated
vendored
@ -111,7 +111,7 @@ const defaults = {
|
||||
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
||||
|
||||
try {
|
||||
return JSON.parse(data);
|
||||
return JSON.parse(data, this.parseReviver);
|
||||
} catch (e) {
|
||||
if (strictJSONParsing) {
|
||||
if (e.name === 'SyntaxError') {
|
||||
|
||||
Reference in New Issue
Block a user