Skip to content

Commit

Permalink
参数注入:避免执行前置代码中的副作用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyLemon committed Dec 30, 2022
1 parent d3a6d20 commit 49db1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7688,7 +7688,7 @@ Content-Type: ` + contentType) + (StringUtil.isEmpty(headerStr, true) ? '' : hea

}

var isPre = true;
var isPre = false; // 避免执行副作用代码 true;
var isTest = false;
var res = {};
var data = res.data;
Expand Down

0 comments on commit 49db1d1

Please sign in to comment.