feat: update video form
This commit is contained in:
parent
4155375362
commit
4f2d1be935
|
|
@ -482,7 +482,7 @@ export default function FormVideo() {
|
||||||
index,
|
index,
|
||||||
String(id),
|
String(id),
|
||||||
item,
|
item,
|
||||||
fileTypeId == "2" || fileTypeId == "4" ? item.duration : "0"
|
"0"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -527,7 +527,7 @@ export default function FormVideo() {
|
||||||
filename: file.name,
|
filename: file.name,
|
||||||
filetype: file.type,
|
filetype: file.type,
|
||||||
duration,
|
duration,
|
||||||
isWatermark: "true", // hardcode
|
isWatermark: "false", // hardcode
|
||||||
},
|
},
|
||||||
onError: async (e: any) => {
|
onError: async (e: any) => {
|
||||||
console.log("Error upload :", e);
|
console.log("Error upload :", e);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue