src/pages/inspectionUpload/index.vue
@@ -1,7 +1,7 @@ <template> <view class="inspection-upload-page"> <!-- 页面头部 --> <PageHeader title="巡检管理" <PageHeader title="设备巡检" @back="goBack" /> <!-- 数据列表 --> <view class="table-section"> @@ -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 // 兼容场景: