Sfoglia il codice sorgente

大面积bug消除

于添 4 mesi fa
parent
commit
1b405684ed

+ 1 - 1
src/views/courseAdd/components/courseProduction/index.vue

@@ -34,7 +34,7 @@
 			<div v-for="(lesson, lessonIndex) in chapter.classHours" :key="lessonIndex" class="lesson">
 				<!-- 视频封面 -->
 				<img :src="sysConfig.FILE_URL+lesson.coverImageUrl" alt="Video Cover" class="video-cover"
-					 style="width: 140px; height: 90px;margin-left: 10px"/>
+					 style="width: 140px; height: 90px;margin-left: 10px;margin-right: 20px"/>
 				<!-- 课时信息 -->
 				<div style="display: flex; flex-direction: column; justify-content: space-between; height: 100%;margin-left: 20px ">
 					<div>{{ lesson.name }}</div>

+ 4 - 3
src/views/forum/form.vue

@@ -1,7 +1,7 @@
 <template>
 	<xn-form-container
 		:title="formData.id ? '编辑帖子' : '增加帖子'"
-		:height="550"
+		:height="600"
 		:get-container="false"
 		:visible="visible"
 		:destroy-on-close="true"
@@ -10,7 +10,7 @@
 		:mask="false"
 		style="width: 960px; left: calc(50% - 960px / 2)"
 	>
-		<a-form ref="formRef" :model="formData" :rules="formRules" layout="vertical">
+		<a-form ref="formRef" :model="formData" :rules="formRules" layout="vertical" style="margin-bottom: 20px">
 			<a-row :gutter="16">
 				<a-col :span="8">
 					<a-form-item label="标题:" name="postTitle">
@@ -172,7 +172,8 @@
 	const formRules = {
 		postTitle: [required('请输入标题'),],
 		typeId: [required('请选择分类')],
-		postContent: [required('请输入内容'),{ max: 2000, message: '不能超过2000个字符' }]
+		// postContent: [required('请输入内容'),{ max: 2000, message: '不能超过2000个字符' }]
+		postContent: [required('请输入内容')]
 	}
 
 	const categoryOptions = tool.dictList('MENU_TYPE')

+ 1 - 1
src/views/forum/index.vue

@@ -70,7 +70,7 @@
 						<div class="forum-list-type">
 							{{ postName(record.postType) }} {{ record.typeName ? '|' : '' }} {{ record.typeName }}
 						</div>
-						<div class="forum-list-content one-line" v-html="record.postContent"></div>
+<!--						<div class="forum-list-content one-line" v-html="record.postContent"></div>-->
 					</template>
 					<template v-if="column.dataIndex === 'lastReplyUserAvatar'">
 						<div v-if="record.replyCount==0">

File diff suppressed because it is too large
+ 0 - 0
stats.html


Some files were not shown because too many files changed in this diff