更换logo
This commit is contained in:
@@ -44,7 +44,7 @@ async function getCourseInfo() { // 获取课程信息
|
||||
const res = await api.getCourse({id:course_id.value})
|
||||
if(res.code === 0) {
|
||||
chapter_info.value = res.data.course_ware_json
|
||||
form.value = res.data
|
||||
form.value = res.data.course
|
||||
console.log(form.value)
|
||||
}
|
||||
}
|
||||
@@ -203,7 +203,7 @@ function onSubmit() {
|
||||
<el-input placeholder="请输入课程价格" type="number" v-model="form.price" />
|
||||
</el-form-item>
|
||||
<el-form-item label="课程简介">
|
||||
<el-input v-model="form.introduction" type="textarea" />
|
||||
<el-input v-model="form.intro" type="textarea" />
|
||||
</el-form-item>
|
||||
<el-form-item label="包含试听">
|
||||
<el-switch v-model="form.is_audition" active-text="是" inactive-text="否" :active-value="1" :inactive-value="-1" />
|
||||
|
Reference in New Issue
Block a user