|
@@ -186,14 +186,16 @@ export default defineComponent({
|
|
/** 评测结果按钮处理 */
|
|
/** 评测结果按钮处理 */
|
|
const handleEvaluatResult = (type: "practise" | "tryagain" | "look" | "share" | "update") => {
|
|
const handleEvaluatResult = (type: "practise" | "tryagain" | "look" | "share" | "update") => {
|
|
if (type === "update") {
|
|
if (type === "update") {
|
|
- // 上传云端
|
|
|
|
- // evaluatModel.evaluatUpdateAudio = true;
|
|
|
|
- api_openAdjustRecording({
|
|
|
|
- recordId: evaluatingData.resultData?.recordIdStr || evaluatingData.resultData?.recordId,
|
|
|
|
- title: state.examSongName || '曲谱演奏',
|
|
|
|
- coverImg: state.coverImg,
|
|
|
|
- });
|
|
|
|
- return;
|
|
|
|
|
|
+ if (evaluatingData.resultData?.recordIdStr || evaluatingData.resultData?.recordId) {
|
|
|
|
+ // 上传云端
|
|
|
|
+ // evaluatModel.evaluatUpdateAudio = true;
|
|
|
|
+ api_openAdjustRecording({
|
|
|
|
+ recordId: evaluatingData.resultData?.recordIdStr || evaluatingData.resultData?.recordId,
|
|
|
|
+ title: state.examSongName || '曲谱演奏',
|
|
|
|
+ coverImg: state.coverImg,
|
|
|
|
+ });
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
} else if (type === "share") {
|
|
} else if (type === "share") {
|
|
// 分享
|
|
// 分享
|
|
evaluatModel.shareMode = true;
|
|
evaluatModel.shareMode = true;
|