Commit 2809862f authored by Yuan Zhixiang's avatar Yuan Zhixiang
Browse files

修复 高亮上一步 bug

parent dff8d139
...@@ -36,6 +36,9 @@ const is_current = computed(() => { // 是当前行 ...@@ -36,6 +36,9 @@ const is_current = computed(() => { // 是当前行
return line.value == current_line.value return line.value == current_line.value
}) })
const is_prev = computed(()=>{ const is_prev = computed(()=>{
if(is_current.value){
return false
}
return line.value == prev_line.value return line.value == prev_line.value
}) })
const breakpoint = computed(()=>{ const breakpoint = computed(()=>{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment