课程富文本 介绍
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
width="1200px"
|
width="1200px"
|
||||||
:title="!dataForm.id ? '新增' : '修改'"
|
:title="!dataForm.id ? '新增' : '修改'"
|
||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
:visible.sync="visible"
|
:visible.sync="visible"
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
<img width="100%" :src="dataForm.image" alt="" />
|
<img width="100%" :src="dataForm.image" alt="" />
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</el-form-item>
|
</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)">
|
<div style="height: calc(620px - 120px)">
|
||||||
<el-upload
|
<el-upload
|
||||||
class="chapter-avatar-uploader"
|
class="chapter-avatar-uploader"
|
||||||
@@ -381,8 +381,7 @@ export default {
|
|||||||
title: this.dataForm.title,
|
title: this.dataForm.title,
|
||||||
sort: this.dataForm.sort,
|
sort: this.dataForm.sort,
|
||||||
image: this.dataForm.image,
|
image: this.dataForm.image,
|
||||||
content: this.dataForm.content,
|
content: this.dataForm.content
|
||||||
|
|
||||||
})
|
})
|
||||||
}).then(({ data }) => {
|
}).then(({ data }) => {
|
||||||
if (data && data.code === 0) {
|
if (data && data.code === 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user