From a19b20afeacf84c1c743c76b5018bcfbddac2270 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Fri, 15 Nov 2024 09:10:12 +0800
Subject: [PATCH] fix: 国控站

---
 src/utils/exportLUImage.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/utils/exportLUImage.js b/src/utils/exportLUImage.js
index 9a49281..534a3f9 100644
--- a/src/utils/exportLUImage.js
+++ b/src/utils/exportLUImage.js
@@ -23,7 +23,6 @@
       const images1 = {
         fileListOne: [],
         fileListTwo: [],
-        fileListThree: [],
         o3Map: [],
         o3Sence: [],
         pm10Map: [],
@@ -49,6 +48,7 @@
                 // images1.push({ [src]: base64 })
                 if (j === 0) {
                   images1.fileListOne.push({ src: base64 })
+                  // console.log(images1.fileListOne,'images1.fileListOne')
                 } else if (j === 1) {
                   images1.fileListTwo.push({ src: base64 })
                 } else if (j === 2) {
@@ -79,10 +79,10 @@
       }
     })
     p.then(res => {
-      opts.getImage = function(image) {
+      opts.getImage = function (image) {
         return base64DataURLToArrayBuffer(image)
       }
-      opts.getSize = function() {
+      opts.getSize = function () {
         return [480, 300]
       }
 
@@ -144,7 +144,7 @@
   var image = new Image()
   image.crossOrigin = ''
   image.src = url
-  image.onload = function() {
+  image.onload = function () {
     base64Img = imageToBase64(image)
     cb && cb(base64Img)
   }

--
Gitblit v1.8.0