Przeglądaj źródła

Update index.tsx

lex 1 rok temu
rodzic
commit
657c695489
1 zmienionych plików z 5 dodań i 2 usunięć
  1. 5 2
      src/views/collection-record/index.tsx

+ 5 - 2
src/views/collection-record/index.tsx

@@ -23,7 +23,10 @@ export default defineComponent({
             </Tab>
             <Tab name="2" title="已完成">
               <div class={styles.wrap}>
-                <List orderStatus="PAID,REFUNDED" onRefund={() => data.refundIndex = data.refundIndex + 1} />
+                <List
+                  orderStatus="PAID,REFUNDED"
+                  onRefund={() => (data.refundIndex = data.refundIndex + 1)}
+                />
               </div>
             </Tab>
             <Tab name="3" title="已关闭">
@@ -31,7 +34,7 @@ export default defineComponent({
                 <List orderStatus="CLOSED" />
               </div>
             </Tab>
-            <Tab name="4" title="退">
+            <Tab name="4" title="退">
               <div class={styles.wrap}>
                 <List refundIndex={data.refundIndex} orderStatus="REFUNDED" />
               </div>