主管理员 2 weeks ago
parent
commit
b9bb661977
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml
  2. +2
    -2
      jeecgboot-vue3/src/views/applet/course-page/components/MobilePreview.vue

+ 1
- 1
jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml View File

@ -1,5 +1,5 @@
server:
port: 8002
port: 8003
undertow:
# max-http-post-size: 10MB # 平替 tomcat server.tomcat.max-swallow-siz, undertow该值默认为-1
worker-threads: 16 # 4核CPU标准配置


+ 2
- 2
jeecgboot-vue3/src/views/applet/course-page/components/MobilePreview.vue View File

@ -24,7 +24,7 @@
<div v-else-if="component.type === 'image'" class="image-preview">
<img v-if="component.imageUrl" :src="component.imageUrl" :alt="component.alt" />
<div v-else class="placeholder-image">图片预览</div>
<p v-if="component.alt" class="image-caption">{{ component.alt }}</p>
<!-- <p v-if="component.alt" class="image-caption">{{ component.alt }}</p>-->
</div>
<!-- 视频预览 -->
<div v-else-if="component.type === 'video'" class="video-preview">
@ -277,4 +277,4 @@ const handleRefresh = () => {
height: 568px;
}
}
</style>
</style>

Loading…
Cancel
Save