liushengqiang 1 год назад
Родитель
Сommit
66f8a65a7e

+ 1 - 1
src/page-instrument/view-evaluat-report/component/share-top/index.tsx

@@ -52,7 +52,7 @@ export default defineComponent({
 		// 资源类型
 		const mediaType = computed((): "audio" | "video" => {
 			const subfix = (scoreData.value.videoFilePath || "").split(".").pop();
-			if (subfix === "wav" || subfix === "mp3") {
+			if (subfix === "wav" || subfix === "mp3" || subfix === "m4a") {
 				return "audio";
 			}
 			return "video";