删除所有console.log输出,优化评查结果的表格的显示,添加新的页码获取逻辑

This commit is contained in:
2025-06-02 18:55:00 +08:00
parent 820baa5b22
commit b02978508d
71 changed files with 862 additions and 572 deletions
+12 -12
View File
@@ -8195,7 +8195,7 @@ function RemixRootDefaultErrorBoundary({
let heyDeveloper = /* @__PURE__ */ React4.createElement("script", {
dangerouslySetInnerHTML: {
__html: `
console.log(
// console.log(
"\u{1F4BF} Hey developer \u{1F44B}. You can provide a way better UX than this when your app throws errors. Check out https://remix.run/guides/errors for more information."
);
`
@@ -8270,7 +8270,7 @@ function RemixRootDefaultHydrateFallback() {
}, /* @__PURE__ */ React5.createElement("script", {
dangerouslySetInnerHTML: {
__html: `
console.log(
// console.log(
"\u{1F4BF} Hey developer \u{1F44B}. You can provide a way better UX than this " +
"when your app is loading JS modules and/or running \`clientLoader\` " +
"functions. Check out https://remix.run/route/hydrate-fallback " +
@@ -9493,15 +9493,15 @@ var LiveReload = (
ws.onmessage = async (message) => {
let event = JSON.parse(message.data);
if (event.type === "LOG") {
console.log(event.message);
// console.log(event.message);
}
if (event.type === "RELOAD") {
console.log("💿 Reloading window ...");
// console.log("💿 Reloading window ...");
window.location.reload();
}
if (event.type === "HMR") {
if (!window.__hmr__ || !window.__hmr__.contexts) {
console.log("💿 [HMR] No HMR context, reloading window ...");
// console.log("💿 [HMR] No HMR context, reloading window ...");
window.location.reload();
return;
}
@@ -9509,10 +9509,10 @@ var LiveReload = (
let updateAccepted = false;
let needsRevalidation = new Set();
for (let update of event.updates) {
console.log("[HMR] " + update.reason + " [" + update.id +"]")
// console.log("[HMR] " + update.reason + " [" + update.id +"]")
if (update.revalidate) {
needsRevalidation.add(update.routeId);
console.log("[HMR] Revalidating [" + update.routeId + "]");
// console.log("[HMR] Revalidating [" + update.routeId + "]");
}
let imported = await import(update.url + '?t=' + event.assetsManifest.hmr.timestamp);
if (window.__hmr__.contexts[update.id]) {
@@ -9520,7 +9520,7 @@ var LiveReload = (
imported
);
if (accepted) {
console.log("[HMR] Update accepted by", update.id);
// console.log("[HMR] Update accepted by", update.id);
updateAccepted = true;
}
}
@@ -9530,12 +9530,12 @@ var LiveReload = (
{ needsRevalidation, assetsManifest: event.assetsManifest }
);
if (accepted) {
console.log("[HMR] Update accepted by", "remix:manifest");
// console.log("[HMR] Update accepted by", "remix:manifest");
updateAccepted = true;
}
}
if (!updateAccepted) {
console.log("[HMR] Update rejected, reloading...");
// console.log("[HMR] Update rejected, reloading...");
window.location.reload();
}
}
@@ -9547,7 +9547,7 @@ var LiveReload = (
};
ws.onclose = (event) => {
if (event.code === 1006) {
console.log("Remix dev asset server web socket closed. Reconnecting...");
// console.log("Remix dev asset server web socket closed. Reconnecting...");
setTimeout(
() =>
remixLiveReloadConnect({
@@ -9558,7 +9558,7 @@ var LiveReload = (
}
};
ws.onerror = (error) => {
console.log("Remix dev asset server web socket error:");
// console.log("Remix dev asset server web socket error:");
console.error(error);
};
}