任务链

This commit is contained in:
2025-08-05 18:17:14 +08:00
parent 1f3c73eb86
commit 82e6ff6663
4 changed files with 58 additions and 25 deletions

View File

@@ -172,7 +172,8 @@ export default {
}
return new Promise((resolve, reject) => {
const img = new Image()
img.src = `${this.$store.getters.baseUrl}${this.mapData.mapImageAddress}`
const urlHost = process.env.VUE_APP_API_BASE_URL
img.src = `${urlHost}${this.mapData.mapImageAddress}`
// img.src = this.mapData.mapImageAddress
img.onload = () => {
this.cachedImages.map = img