Browse Source

预估时长及图片检测3

dev
congzc 1 year ago
parent
commit
7d9ab8aa15
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      src/views/createVideo/index.vue

+ 7
- 0
src/views/createVideo/index.vue View File

@@ -1406,6 +1406,13 @@ async function saveOrUpdate(index, isSaveVideo) {
sound.value,
soundStyle.value
);
if (res4.data.code != 200) {
ElMessage.error(
lanChange.value == "zh-cn"
? `视频时长预估失败,无法生成视频,您可以换个声音试试`
: `Video duration estimation failed, can not generate video, you can try to change the sound`
);
}
ElMessage.success(
lanChange.value == "zh-cn"
? `预计生成的视频时长约为${formatTime(res4.data.data)}`


Loading…
Cancel
Save