From 5c27bc068373ebf6cf152c7ebedbf79218d8a143 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 26 六月 2024 18:19:05 +0800
Subject: [PATCH] bug

---
 h5/pages/staff/snapshot.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/h5/pages/staff/snapshot.vue b/h5/pages/staff/snapshot.vue
index 96add46..2ef9221 100644
--- a/h5/pages/staff/snapshot.vue
+++ b/h5/pages/staff/snapshot.vue
@@ -227,6 +227,14 @@
         title: '璇烽�夋嫨闅愭偅绫诲瀷',
         icon: 'none'
       })
+      if (!param.content) return uni.showToast({
+        title: '璇疯緭鍏ユ儏鍐佃鏄�',
+        icon: 'none'
+      })
+      if (param.content.length < 10) return uni.showToast({
+        title: '鎯呭喌璇存槑涓嶅緱灏忎簬10涓瓧',
+        icon: 'none'
+      })
 
       DangerCreate({
         ...param,
@@ -284,7 +292,6 @@
       uni.chooseImage({
         count: 4,
         success: (chooseImageRes) => {
-          console.log('chooseImageRes.tempFilePaths', chooseImageRes.tempFilePaths)
           uni.showLoading({ title: '涓婁紶涓�', mask: true })
           const tempFilePaths = chooseImageRes.tempFilePaths
           let imgs = tempFilePaths.map((value, index) => {
@@ -429,6 +436,7 @@
         position: absolute;
         right: -20rpx;
         top: -20rpx;
+        z-index: 9999;
       }
       image {
         width: 100%;

--
Gitblit v1.9.3