Drop unused error parameter from apiError

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RaRBJFZKSTA7naHGuQHfnQ
This commit is contained in:
2026-07-04 22:25:12 +08:00
co-authored by Claude Fable 5
parent 7095db5ee9
commit c54557c11c
9 changed files with 61 additions and 43 deletions
+5 -9
View File
@@ -276,7 +276,7 @@ export const useConformanceStore = defineStore("conformanceStore", {
this.allWaitingTime = response.data.waiting_time;
this.allCycleTime = response.data.cycle_time;
} catch (error) {
apiError(error, "Failed to load the Conformance Parameters.");
apiError("Failed to load the Conformance Parameters.");
}
},
/**
@@ -295,7 +295,7 @@ export const useConformanceStore = defineStore("conformanceStore", {
this.conformanceLogTempCheckId = response.data.id;
}
} catch (error) {
apiError(error, "Failed to add the Temporary Check for a file.");
apiError("Failed to add the Temporary Check for a file.");
}
},
/**
@@ -312,7 +312,7 @@ export const useConformanceStore = defineStore("conformanceStore", {
this.allConformanceTempReportData = response.data;
}
} catch (error) {
apiError(error, "Failed to Get the Temporary Log Conformance Report.");
apiError("Failed to Get the Temporary Log Conformance Report.");
}
},
/**
@@ -326,7 +326,6 @@ export const useConformanceStore = defineStore("conformanceStore", {
this.allIssueTraces = response.data.traces;
} catch (error) {
apiError(
error,
"Failed to Get the detail of a temporary log conformance issue.",
);
}
@@ -350,7 +349,6 @@ export const useConformanceStore = defineStore("conformanceStore", {
return null;
}
apiError(
error,
"Failed to Get the detail of a temporary log conformance issue.",
);
return null;
@@ -367,7 +365,6 @@ export const useConformanceStore = defineStore("conformanceStore", {
this.allLoopTraces = response.data.traces;
} catch (error) {
apiError(
error,
"Failed to Get the detail of a temporary log conformance loop.",
);
}
@@ -391,7 +388,6 @@ export const useConformanceStore = defineStore("conformanceStore", {
return null;
}
apiError(
error,
"Failed to Get the detail of a temporary log conformance loop.",
);
return null;
@@ -419,7 +415,7 @@ export const useConformanceStore = defineStore("conformanceStore", {
this.conformanceLogTempCheckId = null;
}
} catch (error) {
apiError(error, "Failed to add the Conformance Check for a file.");
apiError("Failed to add the Conformance Check for a file.");
}
},
/**
@@ -435,7 +431,7 @@ export const useConformanceStore = defineStore("conformanceStore", {
this.conformanceLogTempCheckId = null;
this.conformanceFilterTempCheckId = null;
} catch (error) {
apiError(error, "Failed to update an Existing Conformance.");
apiError("Failed to update an Existing Conformance.");
}
},
/**