龚成明 3 жил өмнө
parent
commit
236efd9f14

+ 6 - 2
src/components/History.vue

@@ -90,9 +90,9 @@
         :search="search"
         :search="search"
         :items-per-page="200"
         :items-per-page="200"
         :loading="loading"
         :loading="loading"
+        :sort-by="['block', 'index']"
+        :sort-desc="[true, false]"
       >
       >
-        <!--        :sort-by="['ts', 'block', 'nonce']"-->
-        <!--        :sort-desc="[true, true, true]"-->
         <template v-slot:item.option="{ item }">
         <template v-slot:item.option="{ item }">
           <div @mouseenter="changeShowBlock(item, false)">
           <div @mouseenter="changeShowBlock(item, false)">
             <v-row>
             <v-row>
@@ -281,6 +281,7 @@
             one.type = jsonData.type
             one.type = jsonData.type
             one.state = jsonData.status
             one.state = jsonData.status
             one.pending = jsonData.pending
             one.pending = jsonData.pending
+            one.jsonData = jsonData
           } catch (e) {
           } catch (e) {
             one.tradeInfo = []
             one.tradeInfo = []
           }
           }
@@ -303,6 +304,9 @@
           }
           }
         }
         }
       },
       },
+      logInfo (info) {
+        console.log(info)
+      },
       dateToTimestamp (str) {
       dateToTimestamp (str) {
         let [a, b] = str.split(' ')
         let [a, b] = str.split(' ')
         let [year, month, day] = a.split('/')
         let [year, month, day] = a.split('/')