src/pages/inspectionUpload/index.vue
@@ -408,7 +408,7 @@ // 计算上传URL const uploadFileUrl = computed(() => { const baseUrl = "http://114.132.189.42:9030"; const baseUrl = config.baseUrl; return baseUrl + uploadConfig.action; }); @@ -971,7 +971,7 @@ }; // 文件访问基础域(后端要求前缀) const filePreviewBase = "http://114.132.189.42:9098"; const filePreviewBase = config.fileUrl; // 将后端返回的文件地址规范成可访问URL // 兼容场景: