liushengqiang 1 سال پیش
والد
کامیت
c40aa8ef4a
3فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 1 0
      src/page-instrument/evaluat-model/index.tsx
  2. 1 0
      src/page-instrument/view-detail/index.tsx
  3. 2 0
      src/state.ts

+ 1 - 0
src/page-instrument/evaluat-model/index.tsx

@@ -191,6 +191,7 @@ export default defineComponent({
 				api_openAdjustRecording({
 				api_openAdjustRecording({
 					recordId: evaluatingData.resultData?.recordIdStr || evaluatingData.resultData?.recordId,
 					recordId: evaluatingData.resultData?.recordIdStr || evaluatingData.resultData?.recordId,
 					title: state.examSongName || '曲谱演奏',
 					title: state.examSongName || '曲谱演奏',
+					coverImg: state.coverImg,
 				});
 				});
 				return;
 				return;
 			} else if (type === "share") {
 			} else if (type === "share") {

+ 1 - 0
src/page-instrument/view-detail/index.tsx

@@ -155,6 +155,7 @@ export default defineComponent({
 			state.enableEvaluation = data.canEvaluate ? true : false;
 			state.enableEvaluation = data.canEvaluate ? true : false;
 			state.examSongId = data.id + "";
 			state.examSongId = data.id + "";
 			state.examSongName = data.musicSheetName;
 			state.examSongName = data.musicSheetName;
+			state.coverImg = data.titleImg ?? "";
 			// 解析扩展字段
 			// 解析扩展字段
 			if (data.extConfigJson) {
 			if (data.extConfigJson) {
 				try {
 				try {

+ 2 - 0
src/state.ts

@@ -65,6 +65,8 @@ const state = reactive({
 	examSongId: "",
 	examSongId: "",
 	/** 曲谱名称 */
 	/** 曲谱名称 */
 	examSongName: "",
 	examSongName: "",
+	/** 曲谱封面 */
+	coverImg: '',
 	/** 扩展字段 */
 	/** 扩展字段 */
 	extConfigJson: {} as any,
 	extConfigJson: {} as any,
 	/** 扩展样式字段 */
 	/** 扩展样式字段 */