Browse Source

Update index.tsx

lex 1 year ago
parent
commit
c0fdd17a53
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/student/trade/index.tsx

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

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