浣跨敤 Prettier 浠g爜鏍煎紡鍖?

This commit is contained in:
Suwings 2020-10-08 19:01:39 +08:00
parent edb6691429
commit 11f371deee
2 changed files with 5 additions and 2 deletions

View File

@ -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 () {

3
toprettierpush.bat Normal file
View File

@ -0,0 +1,3 @@
git add .
git commit -m "使用 Prettier 代码格式化"
git push