Browse Source

修改高亮的代码

Bay 6 years ago
parent
commit
72ef757078
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/views/JVVM.vue

+ 2 - 4
src/views/JVVM.vue

@@ -86,13 +86,11 @@ export default {
         optionalNextFrame.code &&
         optionalNextFrame.code &&
         optionalNextFrame.code.length > 0
         optionalNextFrame.code.length > 0
       ) {
       ) {
-        const code = optionalNextFrame.code
-        this.currentJVMCode = code
-        this.nextActiveCode = code[0]
+        this.currentJVMCode = optionalNextFrame.code
       } else if (currentFrame && currentFrame.code) {
       } else if (currentFrame && currentFrame.code) {
         this.currentJVMCode = currentFrame.code
         this.currentJVMCode = currentFrame.code
-        this.nextActiveCode = nextInstruction
       }
       }
+      this.nextActiveCode = nextInstruction
     }
     }
   },
   },
   methods: {
   methods: {