优化后,再次提交

This commit is contained in:
王利强
2026-05-03 09:08:56 +08:00
parent 721ef0ad54
commit 805747d1d9
1243 changed files with 46213 additions and 221 deletions

View File

@@ -47,7 +47,7 @@
import { ref, reactive } from 'vue';
import { onLoad } from '@dcloudio/uni-app';
import { acceptanceRectification, getHiddenDangerDetail } from '@/request/api.js';
import { baseUrl,getToken } from '@/request/request.js';
import { baseUrl, getToken, toImageUrl } from '@/request/request.js';
// 页面参数
const rectifyId = ref('');
@@ -75,9 +75,9 @@
const getFullPath = (filePath) => {
if (!filePath) return '';
if (filePath.startsWith('http://') || filePath.startsWith('https://')) {
return filePath;
return toImageUrl(filePath);
}
return baseUrl + filePath;
return toImageUrl(filePath);
};
// 图片预览