hookehuyr

refactor(StudyDetailPage): 移除未使用的OfficeViewer组件及其引用

...@@ -280,7 +280,7 @@ ...@@ -280,7 +280,7 @@
280 <h3 class="text-lg font-medium text-center truncate">{{ officeTitle }}</h3> 280 <h3 class="text-lg font-medium text-center truncate">{{ officeTitle }}</h3>
281 </div> 281 </div>
282 <div class="flex-1 overflow-auto"> 282 <div class="flex-1 overflow-auto">
283 - <OfficeViewer 283 + <!-- <OfficeViewer
284 v-if="officeShow && officeUrl && officeFileType" 284 v-if="officeShow && officeUrl && officeFileType"
285 :src="officeUrl" 285 :src="officeUrl"
286 :file-type="officeFileType" 286 :file-type="officeFileType"
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
288 @rendered="onOfficeRendered" 288 @rendered="onOfficeRendered"
289 @error="onOfficeError" 289 @error="onOfficeError"
290 @retry="onOfficeRetry" 290 @retry="onOfficeRetry"
291 - /> 291 + /> -->
292 </div> 292 </div>
293 </div> 293 </div>
294 </van-popup> 294 </van-popup>
...@@ -655,7 +655,7 @@ import { useTitle } from '@vueuse/core'; ...@@ -655,7 +655,7 @@ import { useTitle } from '@vueuse/core';
655 import VideoPlayer from '@/components/ui/VideoPlayer.vue'; 655 import VideoPlayer from '@/components/ui/VideoPlayer.vue';
656 import AudioPlayer from '@/components/ui/AudioPlayer.vue'; 656 import AudioPlayer from '@/components/ui/AudioPlayer.vue';
657 import FrostedGlass from '@/components/ui/FrostedGlass.vue'; 657 import FrostedGlass from '@/components/ui/FrostedGlass.vue';
658 -import OfficeViewer from '@/components/ui/OfficeViewer.vue'; 658 +// import OfficeViewer from '@/components/ui/OfficeViewer.vue';
659 import dayjs from 'dayjs'; 659 import dayjs from 'dayjs';
660 import { formatDate, wxInfo } from '@/utils/tools' 660 import { formatDate, wxInfo } from '@/utils/tools'
661 import axios from 'axios'; 661 import axios from 'axios';
......