From 2d410989d32380d31ae3fe6d42aa3b3ba9e09d00 Mon Sep 17 00:00:00 2001
From: lrj <owen.stl@gmail.com>
Date: 星期五, 03 十月 2025 22:13:29 +0800
Subject: [PATCH] UI优化和bug修复: 1.调整小程序消息列表图标样式 2.优化web端比赛晋级页面布局 3.修复小程序消息列表日期显示问题

---
 web/src/utils/cos-simple.ts |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/web/src/utils/cos-simple.ts b/web/src/utils/cos-simple.ts
index 9190707..24a983d 100644
--- a/web/src/utils/cos-simple.ts
+++ b/web/src/utils/cos-simple.ts
@@ -38,16 +38,11 @@
  */
 export const uploadToCOS = async (file: File): Promise<string> => {
   try {
-    console.log('寮�濮嬭幏鍙栦笂浼犲嚟璇�...')
-    
     // 鑾峰彇涓婁紶鍑瘉
     const credentials = await getUploadCredentials()
-    console.log('鑾峰彇鍒颁笂浼犲嚟璇�:', credentials)
     
     // 浣跨敤棰勭鍚峌RL
     const uploadUrl = credentials.presignedUrl
-    
-    console.log('寮�濮嬩笂浼犳枃浠跺埌:', uploadUrl)
     
     // 浣跨敤棰勭鍚峌RL涓婁紶鏂囦欢
     const uploadResponse = await axios.put(uploadUrl, file, {
@@ -57,7 +52,6 @@
     })
     
     if (uploadResponse.status === 200) {
-      console.log('鏂囦欢涓婁紶鎴愬姛!')
       // 杩斿洖鏂囦欢鐨勮闂甎RL锛堝幓鎺夋煡璇㈠弬鏁帮級
       const fileUrl = `https://${credentials.bucket}.cos.${credentials.region}.myqcloud.com/${credentials.key}`
       return fileUrl
@@ -66,7 +60,6 @@
     }
     
   } catch (error) {
-    console.error('涓婁紶鏂囦欢澶辫触:', error)
     throw error
   }
 }
\ No newline at end of file

--
Gitblit v1.8.0