|
@@ -152,7 +152,7 @@
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button type="primary" @click="submitForm" :disabled="!form.coverFileId">确 定</el-button>
|
|
|
+ <el-button type="primary" @click="submitForm" :disabled="!form.coverFileId && !form.coverFileUrl">确 定</el-button>
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
@@ -339,6 +339,7 @@ export default {
|
|
|
const data = {
|
|
|
id: this.form.id,
|
|
|
title: this.form.title,
|
|
|
+ sort: this.form.sort,
|
|
|
videoDescribe: this.form.videoDescribe,
|
|
|
videoFileId: this.form.vodVideoFileId,
|
|
|
coverFileId: this.form.coverFileId
|
|
@@ -351,6 +352,7 @@ export default {
|
|
|
} else {
|
|
|
const data = {
|
|
|
id: this.form.id,
|
|
|
+ sort: this.form.sort,
|
|
|
title: this.form.title,
|
|
|
videoDescribe: this.form.videoDescribe,
|
|
|
videoFileId: this.form.vodVideoFileId,
|