add web handle fetch error

This commit is contained in:
2021-11-24 11:09:21 +08:00
parent 8a2c8dd8b2
commit e3de41fe07
5 changed files with 24 additions and 3 deletions

View File

@@ -14,6 +14,9 @@ function FfmpegConfig(props) {
if (data.ffmpeg_config_list.length > 0) {
props.setSelectedFfmpegConfig(data.ffmpeg_config_list[0]);
}
})
.catch((error) => {
alert("get_ffmpeg_config_list error: " + error);
});
}, []);