ChenYangfan 6 年之前
父節點
當前提交
2024e9f8a2
共有 4 個文件被更改,包括 12 次插入 和 11 次删除
  1. 0 1
      src/App.vue
  2. 1 1
      src/components/JHeapDetail.vue
  3. 1 1
      src/components/JThreadDetail.vue
  4. 10 8
      src/components/common.scss

+ 0 - 1
src/App.vue

@@ -76,7 +76,6 @@ export default {
   },
   methods: {
     handleNextFrame() {
-      console.log(this.states)
       if (this.currentStateIndex < this.states.length - 1) {
         this.currentState = this.states[this.currentStateIndex + 1]
         this.currentStateIndex += 1

+ 1 - 1
src/components/JHeapDetail.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <div>堆区详情</div>
+    <h3>堆区详情</h3>
     <v-treeview open-all :items="items"></v-treeview>
   </div>
 </template>

+ 1 - 1
src/components/JThreadDetail.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <div>线程栈详情</div>
+    <h3>线程栈详情</h3>
     <v-treeview open-all :items="items"></v-treeview>
   </div>
 </template>

+ 10 - 8
src/components/common.scss

@@ -1,15 +1,17 @@
 .button-text {
-    width: 100%;
-    text-transform: initial;
-    letter-spacing: 0;
-// font-family: ;
-    text-align: left;
+  width: 100%;
+  text-transform: initial;
+  letter-spacing: 0;
+  font-family: monospace, monospace;
+  font-weight: bold;
+  text-align: left;
 }
 
 code::before {
-    content: '' !important;
+  content: '' !important;
 }
+
 code {
-    background: none !important;
-    box-shadow: none !important;
+  background: none !important;
+  box-shadow: none !important;
 }