소스 검색

Update index.tsx

lex 1 년 전
부모
커밋
c0fdd17a53
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/student/trade/index.tsx

+ 2 - 2
src/student/trade/index.tsx

@@ -43,9 +43,9 @@ export default defineComponent({
           </Tabs>
         </TheSticky>
 
-        {this.active === 'buy' && <List height={this.height} />}
+        {this.active === 'buy' && <List height={this.height} key={'buy'} />}
         {this.active === 'refund' && (
-          <List height={this.height} type="refund" />
+          <List height={this.height} type="refund" key={'refund'} />
         )}
       </div>
     )