feat(admin): 转码设置页新增立即补齐转码按钮
This commit is contained in:
1 parent
d7d43fed44
commit
e51d371e07
7 files changed
+86
-5
No files matched your search
@@ -14,6 +14,7 @@ const {
|
||||
rules,
|
||||
loading,
|
||||
saving,
|
||||
backfilling,
|
||||
loadError,
|
||||
canManage,
|
||||
qualityRules,
|
||||
@@ -23,7 +24,8 @@ const {
|
||||
loadProfile,
|
||||
addRung,
|
||||
deleteRung,
|
||||
saveProfile
|
||||
saveProfile,
|
||||
runBackfill
|
||||
} = useTranscodeSettings()
|
||||
</script>
|
||||
|
||||
@@ -33,6 +35,18 @@ const {
|
||||
:title="t('transcodeSettings.title')"
|
||||
:description="t('transcodeSettings.description')"
|
||||
>
|
||||
<el-tooltip :content="t('transcodeSettings.backfillTip')" placement="top">
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
:loading="backfilling"
|
||||
:disabled="!canManage || loading"
|
||||
@click="runBackfill"
|
||||
>
|
||||
<AppIcon v-if="!backfilling" :icon="AppIcons.videoPlay" />
|
||||
{{ t('transcodeSettings.backfill') }}
|
||||
</el-button>
|
||||
</el-tooltip>
|
||||
<el-button :disabled="loading" @click="loadProfile">
|
||||
<AppIcon :icon="AppIcons.refresh" />
|
||||
{{ t('transcodeSettings.reload') }}
|
||||
|
||||
Reference in new issue
Block a user