diff --git a/public/common/js/response.js b/public/common/js/response.js index 184bbf5b..a83d9170 100644 --- a/public/common/js/response.js +++ b/public/common/js/response.js @@ -102,8 +102,8 @@ MI.rOn("onend"); PageLoading(); //替換掉原先存在的函数 防止新的单页没有这些函数而导致代码二次执行 - MI.rListener("onend", function () { }); - MI.rListener("onload", function () { }); + MI.rListener("onend", function () {}); + MI.rListener("onload", function () {}); //触发页面切换事件 MI.on("RedirectPage", url); RES.redirectHTML(url, key, body, function () { diff --git a/toprettierpush.bat b/toprettierpush.bat new file mode 100644 index 00000000..d5222817 --- /dev/null +++ b/toprettierpush.bat @@ -0,0 +1,3 @@ +git add . +git commit -m "使用 Prettier 代码格式化" +git push \ No newline at end of file