BUG 28978
This commit is contained in:
		| @@ -9,6 +9,9 @@ | ||||
|               <el-form-item label="标题" prop="title"> | ||||
|                 <el-input v-model="form.title" placeholder="请输入" clearable show-word-limit maxlength="30"/> | ||||
|               </el-form-item> | ||||
|               <el-form-item label="排序" prop="showIndex"> | ||||
|                 <el-input v-model.number="form.showIndex" placeholder="请输入" clearable/> | ||||
|               </el-form-item> | ||||
|               <el-form-item label="视频" prop="videoUrl"> | ||||
|                 <video v-if="hasVideo" class="video-com" muted :src="form.videoUrl" controls="controls"/> | ||||
|                 <el-upload :show-file-list="false" ref="upload1" action :http-request="submitUpload" | ||||
| @@ -61,6 +64,7 @@ export default { | ||||
|         title: [{required: true, message: "请输入标题"}], | ||||
|         thumbUrl: [{required: true, message: "请上传视频封面"}], | ||||
|         videoUrl: [{required: true, message: "请上传视频"}], | ||||
|         showIndex: [{required: true, message: "请输入排序"}], | ||||
|       } | ||||
|     }, | ||||
|     hasVideo() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user