mo 3 anos atrás
pai
commit
b6be03f126

+ 2 - 2
src/components/col-header/modals/loganInfo.tsx

@@ -73,7 +73,7 @@ export default defineComponent({
       const token = getAuth()
       let userType = ''
       let str = ''
-      let nowPath = route.path;
+      let nowPath = route.fullPath;
 
       if (states.userType == 'TEACHER') {
         userType = 'STUDENT'
@@ -99,7 +99,7 @@ export default defineComponent({
             loginUserType: userType
           })
         )
-        router.push({ path: nowPath })
+        router.push({ path: nowPath,query:{...route.query} })
         setTimeout(()=>{
            window.location.reload()
         },500)

+ 1 - 1
src/views/muiscDetial/index.tsx

@@ -243,7 +243,7 @@ export default defineComponent({
           </div>
           <div class={classes.right}>
             <div class={classes.musicInfo}>
-              <h2>曲目:{state.musicDetail.musicSheetName}</h2>
+              <h2>{state.musicDetail.musicSheetName}</h2>
               <div class={classes.collect}>
                 <img src={start} class={classes.start} alt="" />
                 <p>{state.musicDetail.favoriteNum}人收藏</p>