From 638801556aa15fc94ee0949beaba99e873bb984e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Wed, 24 Dec 2025 16:59:25 +0800 Subject: [PATCH] =?UTF-8?q?JLBA202505130001=5F=E5=85=B3=E4=BA=8E=E5=90=89?= =?UTF-8?q?=E6=9E=97=E9=93=B6=E8=A1=8C=E6=96=B0=E5=BB=BAAI=E6=99=BA?= =?UTF-8?q?=E8=83=BD=E5=9F=B9=E8=AE=AD=E7=B3=BB=E7=BB=9F=E7=9A=84=E9=9C=80?= =?UTF-8?q?=E6=B1=82=5Fbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/common.js | 4 ++-- src/pages/courseRecord/courseStudyRecordDetail.vue | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/api/common.js b/src/api/common.js index 3468e2d5..60856621 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -101,11 +101,11 @@ export const commonUploadVoiceFile = (file, url, data = {}, fileKey = 'voice') = } return reject('Other'); } catch (error) { - reject(new Error('Failed to parse response')); + reject(error); } }, fail(error) { - return reject('Other'); + return reject(error); } }); }); diff --git a/src/pages/courseRecord/courseStudyRecordDetail.vue b/src/pages/courseRecord/courseStudyRecordDetail.vue index d151f146..b8c5323d 100644 --- a/src/pages/courseRecord/courseStudyRecordDetail.vue +++ b/src/pages/courseRecord/courseStudyRecordDetail.vue @@ -105,17 +105,18 @@ position: relative; display: flex; flex-direction: column; + width: 100vw; height: 100vh; .top-bg { background: linear-gradient(16deg, rgba(234, 246, 255, 0) 0%, #e6eafd 100%); height: 480rpx; - width: 750rpx; + width: 100%; } .bot-bg { background: linear-gradient(136deg, rgba(234, 246, 255, 0) 0%, #e6eafd 100%); - width: 750rpx; + width: 100%; flex: 1; }