会飞的电脑 2 years ago
parent
commit
26fa6ae8de

+ 0 - 3
src/components/Hddress.vue

@@ -64,9 +64,6 @@ export default {
         {text: "Other", value: 'other'},
         {text: 'Name', value: 'name', width: '10%'},
         {text: 'Type', value: 'type'},
-        {text: 'From', value: 'from'},
-        {text: 'AppendTimestamp', value: 'appendTimestamp'},
-        {text: 'UpdateTimestamp', value: 'updateTimestamp'},
         {text: 'Comment', value: 'comment'},
       ]
     },

+ 1 - 1
src/components/Pending.vue

@@ -43,7 +43,7 @@ export default {
       groupDesc: true,
       sortBy: ['blockNumber', 'gasPrice', 'timestamp'],
       sortDesc: [true, true, false],
-      pageSize: process.env.NODE_ENV === 'development' ? 20 : 200,
+      pageSize: process.env.NODE_ENV === 'development' ? 100 : 200,
       pageNum: 1,
       pageLength:99,
       data: [],

+ 2 - 20
src/components/viewer/hddress/Table.vue

@@ -56,10 +56,10 @@
         <template v-slot:item.hash="{ item }">
           <v-btn v-if="item.hash.indexOf('0x') !== -1" outlined text target="_blank"
                  @click="">
-            {{ hashKit.head5(item.hash) + '..' }}
+            {{ item.hash }}
           </v-btn>
           <v-chip v-else label target="_blank">
-            {{ hashKit.head5(item.hash) + '..' }}
+            {{ item.hash }}
           </v-chip>
         </template>
         <template v-slot:item.other="{ item }">
@@ -86,24 +86,6 @@
             [type]
           </div>
         </template>
-        <template v-slot:item.from="{ item }">
-          <div v-if="item.from !== undefined && item.from !== '' && item.from !== null">
-            {{ item.from }}
-          </div>
-          <div v-else>
-            [from]
-          </div>
-        </template>
-        <template v-slot:item.appendTimestamp="{ item }">
-          <div>
-            {{ timeKit.getTimeByMillisecond(item.appendTimestamp) }}
-          </div>
-        </template>
-        <template v-slot:item.updateTimestamp="{ item }">
-          <div>
-            {{  timeKit.getTimeByMillisecond(item.updateTimestamp) }}
-          </div>
-        </template>
         <template v-slot:item.comment="{ item }">
           <div v-if="item.comment !== undefined && item.comment !== '' && item.comment !== null">
             {{ item.comment }}

+ 1 - 1
src/components/viewer/hddress/Top.vue

@@ -12,7 +12,7 @@
       <v-col cols="18" md="2">
         <v-btn outlined x-large tile color="primary" @click="generateTableDataAgain">
           <v-icon left>mdi-cloud-search-outline</v-icon>
-          查询
+          刷新
         </v-btn >
         <v-btn style='margin-left: 5px;' outlined x-large tile color="primary" @click="addClick()">
           <v-icon left>mdi-cloud-search-outline</v-icon>