From 924e0bdee0e5ba55fab291b9fb98a3c50c7ede5e Mon Sep 17 00:00:00 2001
From: chensiAb <chenchenco03@163.com>
Date: Thu, 28 Nov 2024 14:56:22 +0800
Subject: [PATCH] fix:tools千分位-小数位处理

---
 forms/imagePicker/CImagePreview.vue |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/forms/imagePicker/CImagePreview.vue b/forms/imagePicker/CImagePreview.vue
index 816f639..bff6cce 100644
--- a/forms/imagePicker/CImagePreview.vue
+++ b/forms/imagePicker/CImagePreview.vue
@@ -65,6 +65,9 @@
     },
     methods: {
         handleLoadError(index) {
+            while (this.loadFail.length - 1 < index) {
+                this.loadFail.push(false);
+            }
             this.loadFail.splice(index, 1, true);
         },
         // option { current, urls }

--
Gitblit v1.9.1