Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yuan Zhixiang
c-render-vue
Commits
2809862f
Commit
2809862f
authored
Apr 26, 2024
by
Yuan Zhixiang
Browse files
修复 高亮上一步 bug
parent
dff8d139
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/LineUnit.vue
View file @
2809862f
...
@@ -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
(()
=>
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment