src/components/filePictrue/index.vue
@@ -36,6 +36,7 @@ </template> <script> import { parseTime, FILE_ORIGINAL_URL } from "@/utils/index"; import { replace } from "core-js/fn/symbol"; export default { data() { return { @@ -57,6 +58,7 @@ urls.forEach((o) => { o = o.replace("[", "").replace("]", ""); if (o !== '') { o = o.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","") item.url.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${o}`); } });