mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
视频选择回显修改
This commit is contained in:
@@ -493,7 +493,11 @@ export default {
|
|||||||
this.form.device = 2;
|
this.form.device = 2;
|
||||||
}
|
}
|
||||||
//时长,秒与分钟的转化
|
//时长,秒与分钟的转化
|
||||||
//if(this.form.)
|
if(!this.form.minute){
|
||||||
|
return this.$message.error('请输入时长');
|
||||||
|
}else{
|
||||||
|
this.form.duration = Number(this.form.minute) * 60;
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
const { status,message} = await coueseFile.batchUpdate([this.form]);
|
const { status,message} = await coueseFile.batchUpdate([this.form]);
|
||||||
if (status === 200) {
|
if (status === 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user