liding
2026-03-17 7656bcaddaabd01d9e001a99673195266c0ac0ea
src/views/equipmentManagement/repair/index.vue
@@ -176,6 +176,9 @@
const formatFileUrl = (url) => {
  if (!url) return "";
  if (url.startsWith("http://") || url.startsWith("https://")) return url;
  if (url.includes(":") || url.startsWith("/")) {
    return url;
  }
  const path = String(url).replace(/^\/+/, "");
  return path ? baseApi + "/" + path : baseApi;
};