skyblued před 2 roky
rodič
revize
d66231fda5
1 změnil soubory, kde provedl 20 přidání a 22 odebrání
  1. 20 22
      src/views/music/component/song/index.tsx

+ 20 - 22
src/views/music/component/song/index.tsx

@@ -188,28 +188,26 @@ export default defineComponent({
               }}
             />
 
-            {state.platformType === 'STUDENT' && (
-              <Cell
-                border={false}
-                size="large"
-                title={moreData.value.favorite ? '取消收藏' : '收藏曲目'}
-                center
-                onClick={() => toggleFavorite()}
-                v-slots={{
-                  icon: () => (
-                    <div class={styles.shareIcon}>
-                      <Image
-                        src={
-                          moreData.value.favorite
-                            ? collection_active
-                            : collection
-                        }
-                      />
-                    </div>
-                  )
-                }}
-              />
-            )}
+            <Cell
+              border={false}
+              size="large"
+              title={moreData.value.favorite ? '取消收藏' : '收藏曲目'}
+              center
+              onClick={() => toggleFavorite()}
+              v-slots={{
+                icon: () => (
+                  <div class={styles.shareIcon}>
+                    <Image
+                      src={
+                        moreData.value.favorite
+                          ? collection_active
+                          : collection
+                      }
+                    />
+                  </div>
+                )
+              }}
+            />
             <Cell
                 border={false}
                 size="large"