Selaa lähdekoodia

fix: bug修复

TIANYONG 1 vuosi sitten
vanhempi
commit
72c4ba27f4

BIN
src/page-instrument/evaluat-model/delay-check/image/icon_2_3.png


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

@@ -11,7 +11,7 @@ export default defineComponent({
 				<img class={styles.erji} src={icons.erji} />
 				<div class={styles.content}>
 					<div class={styles.title}>请佩戴耳机</div>
-					<div class={styles.tip}>佩戴耳机以保证测评准确率~</div>
+					<div class={styles.tip}>佩戴耳机以保证测评准确率~</div>
 					<img src={icons.erjibtn} class={styles.btn} onClick={() => emit("close")} />
 				</div>
 			</div>

+ 1 - 1
src/page-instrument/header-top/music-type/index.tsx

@@ -30,7 +30,7 @@ export default defineComponent({
 			if (type){
 				state.musicRenderType = musicTypeData.type
 				// sessionStorage.setItem(musicRenderTypeKey, musicTypeData.type)
-				resetRenderMusicScore()
+				resetRenderMusicScore(musicTypeData.type)
 			} else {
 				headData.musicTypeShow = false;
 				musicTypeData.type = ''

+ 1 - 1
src/page-instrument/header-top/speed/index.tsx

@@ -47,7 +47,7 @@ export default defineComponent({
 					}}
 				</Slider>
 				<Button class={styles.btn} icon={headImg("icon_minus.svg")} disabled={state.speed == 45} onClick={minusSpeed} />
-				<Button class={styles.btn} icon={headImg("icon_speedRest.svg")} disabled={state.speed == 45} onClick={resetSpeed} />
+				<Button class={styles.btn} icon={headImg("icon_speedRest.svg")} onClick={resetSpeed} />
 			</div>
 		);
 	},

+ 2 - 1
src/view/music-score/index.tsx

@@ -25,11 +25,12 @@ export const resetMusicScore = () => {
 };
 
 /** 重新渲染曲谱 */
-export const resetRenderMusicScore = () => {
+export const resetRenderMusicScore = (type?: string) => {
 	const search = queryString.parse(location.search);
 	const newSearch = queryString.stringify({
 		...search,
 		_t: Date.now(),
+		musicRenderType: type
 	});
 	location.search = "?" + newSearch;
 };