From 64b432916af9c9218ab3f3eca614e26c542142ae Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 07 十一月 2023 15:47:13 +0800
Subject: [PATCH] bug

---
 minipro_standard/uni_modules/uview-ui/components/u-upload/mixin.js |   40 ++++++++++++++++++++--------------------
 1 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/minipro_standard/uni_modules/uview-ui/components/u-upload/mixin.js b/minipro_standard/uni_modules/uview-ui/components/u-upload/mixin.js
index 1a44575..410c775 100644
--- a/minipro_standard/uni_modules/uview-ui/components/u-upload/mixin.js
+++ b/minipro_standard/uni_modules/uview-ui/components/u-upload/mixin.js
@@ -1,21 +1,21 @@
-export default {
-    watch: {
-        // 鐩戝惉accept鐨勫彉鍖栵紝鍒ゆ柇鏄惁绗﹀悎涓钩鍙拌姹�
-        // 鍙湁寰俊灏忕▼搴忔墠鏀寔閫夋嫨濯掍綋锛屾枃浠剁被鍨嬶紝鎵�浠ヨ繖閲屽仛涓�涓垽鏂彁绀�
-        accept: {
-            immediate: true,
-            handler(val) {
-                // #ifndef MP-WEIXIN
-                if (val === 'all' || val === 'media') {
-                    uni.$u.error('鍙湁寰俊灏忕▼搴忔墠鏀寔鎶奱ccept閰嶇疆涓篴ll銆乵edia涔嬩竴')
-                }
-                // #endif
-                // #ifndef H5 || MP-WEIXIN
-                if (val === 'file') {
-                    uni.$u.error('鍙湁寰俊灏忕▼搴忓拰H5(HX2.9.9)鎵嶆敮鎸佹妸accept閰嶇疆涓篺ile')
-                }
-                // #endif
-            }
-        }
-    }
+export default {
+    watch: {
+        // 鐩戝惉accept鐨勫彉鍖栵紝鍒ゆ柇鏄惁绗﹀悎涓钩鍙拌姹�
+        // 鍙湁寰俊灏忕▼搴忔墠鏀寔閫夋嫨濯掍綋锛屾枃浠剁被鍨嬶紝鎵�浠ヨ繖閲屽仛涓�涓垽鏂彁绀�
+        accept: {
+            immediate: true,
+            handler(val) {
+                // #ifndef MP-WEIXIN
+                if (val === 'all' || val === 'media') {
+                    uni.$u.error('鍙湁寰俊灏忕▼搴忔墠鏀寔鎶奱ccept閰嶇疆涓篴ll銆乵edia涔嬩竴')
+                }
+                // #endif
+                // #ifndef H5 || MP-WEIXIN
+                if (val === 'file') {
+                    uni.$u.error('鍙湁寰俊灏忕▼搴忓拰H5(HX2.9.9)鎵嶆敮鎸佹妸accept閰嶇疆涓篺ile')
+                }
+                // #endif
+            }
+        }
+    }
 }

--
Gitblit v1.9.3