Browse Source

Update index.tsx

lex-xin 2 weeks ago
parent
commit
abd51c5187
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/tenant/music/train-tool/index.tsx

+ 2 - 2
src/tenant/music/train-tool/index.tsx

@@ -704,12 +704,12 @@ export default defineComponent({
                                 </span>
                               )}
                               {/* 是否解锁 并且 未购买 */}
-                              {state.details?.albumStatus !== 'NORMAL' &&
+                              {album?.albumStatus !== 'NORMAL' &&
                                 state.buy != '1' && baseState.platformType === 'STUDENT' && (
                                   <div class={styles.iconLock}>
                                     <img src={iconLock} />
                                     <p>
-                                      {state.details?.albumStatus === 'NO_BUY'
+                                      {album?.albumStatus === 'NO_BUY'
                                         ? '未开通'
                                         : '已过期'}
                                     </p>