ChenYangfan 6 лет назад
Родитель
Сommit
5baaad8d78
3 измененных файлов с 2 добавлено и 5 удалено
  1. 0 1
      src/components/JHeap.vue
  2. 1 2
      src/components/JMethod.vue
  3. 1 2
      src/components/JThread.vue

+ 0 - 1
src/components/JHeap.vue

@@ -28,7 +28,6 @@ export default {
   },
   methods: {
     handleClickDetail ({ detail }) {
-      this.itemNowId = detail.id
       this.$emit('click-detail', detail)
     }
   }

+ 1 - 2
src/components/JMethod.vue

@@ -6,7 +6,7 @@
         <v-btn v-for="item of methods" :key="item.className" block text :color="item.fresh ? 'red' : 'black'"
                @click="handleClickDetail(item)">
           <div class="button-text">{{item.className}}</div>
-          <v-icon v-if="item === displayNow" color="blue" right>mdi-arrow-left</v-icon>
+          <v-icon v-if="item === displayNow" color="blue" right>mdi-search</v-icon>
         </v-btn>
       </template>
     </div>
@@ -33,7 +33,6 @@ export default {
   },
   methods: {
     handleClickDetail (detail) {
-      this.itemNowId = detail.className
       this.$emit('click-detail', detail)
     }
   }

+ 1 - 2
src/components/JThread.vue

@@ -1,13 +1,12 @@
 <template>
   <div>
     <h3>线程栈</h3>
-    {{displayNow}}
     <div class="j-container">
       <template v-if="threadStack !== null">
         <v-btn v-for="item of threadStack" :key="item.methodName" block text :color="item.fresh ? 'red' : 'black'"
                @click="handleClickDetail(item)">
           <div class="button-text">{{item.methodName}}</div>
-          <v-icon v-if="item === displayNow" color="blue" right>mdi-arrow-left</v-icon>
+          <v-icon v-if="item === displayNow" color="blue" right>mdi-search</v-icon>
         </v-btn>
       </template>
     </div>