Skip to content

Commit f39ca50

Browse files
committed
chore: vp9 -> usm 时显示提示
1 parent fa413b1 commit f39ca50

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

MaiChartManager/Front/src/components/CopyToButton/ChangeIdDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { computed, defineComponent, ref, watch } from "vue";
2-
import { DialogOptions, NButton, NFlex, NForm, NFormItem, NInputGroup, NInputGroupLabel, NInputNumber, NModal, useDialog } from "naive-ui";
2+
import { DialogOptions, NButton, NFlex, NForm, NFormItem, NInputNumber, NModal, useDialog } from "naive-ui";
33
import { globalCapture, musicList, selectedADir, selectMusicId, updateAll } from "@/store/refs";
44
import api from "@/client/api";
55
import MusicIdConflictNotifier from "@/components/MusicIdConflictNotifier";

MaiChartManager/Front/src/components/ImportCreateChartButton/ImportChartButton/ImportStepDisplay.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ export default defineComponent({
3333
<Step step={IMPORT_STEP.music} current={props.current.importStep} name="转码音频"/>
3434
{props.current.movie && <Step step={IMPORT_STEP.movie} current={props.current.importStep} name="转码视频"/>}
3535
{props.current.movie && !!props.movieProgress && <NProgress
36-
type="line"
37-
percentage={props.movieProgress}
38-
indicator-placement="inside"
39-
processing
40-
/>}
36+
type="line"
37+
percentage={props.movieProgress}
38+
indicator-placement="inside"
39+
processing
40+
>
41+
{props.movieProgress === 100 ? '还在处理,别急…' : `${props.movieProgress}%`}
42+
</NProgress>}
4143
<Step step={IMPORT_STEP.jacket} current={props.current.importStep} name="导入封面"/>
4244
</NFlex>
4345
</NModal>

MaiChartManager/Front/src/components/ImportCreateChartButton/ImportChartButton/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,11 @@ export default defineComponent({
111111
break;
112112
case 'Success':
113113
resolve();
114+
currentMovieProgress.value = 0;
114115
break;
115116
case 'Error':
116117
reject(new Error(e.data));
118+
currentMovieProgress.value = 0;
117119
break;
118120
}
119121
}

0 commit comments

Comments
 (0)