课程富文本 介绍

This commit is contained in:
2024-05-28 15:21:41 +08:00
parent a95986eb56
commit a1d0587cca

View File

@@ -1,6 +1,6 @@
<template>
<el-dialog
width="1200px"
width="1200px"
:title="!dataForm.id ? '新增' : '修改'"
:close-on-click-modal="false"
:visible.sync="visible"
@@ -45,7 +45,7 @@
<img width="100%" :src="dataForm.image" alt="" />
</el-dialog>
</el-form-item>
<el-form-item label="内容" prop="sort" style="margin-bottom: 140px;">
<el-form-item label="课程介绍" prop="sort" style="margin-bottom: 140px;">
<div style="height: calc(620px - 120px)">
<el-upload
class="chapter-avatar-uploader"
@@ -381,8 +381,7 @@ export default {
title: this.dataForm.title,
sort: this.dataForm.sort,
image: this.dataForm.image,
content: this.dataForm.content,
content: this.dataForm.content
})
}).then(({ data }) => {
if (data && data.code === 0) {