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
98f7ebfb
Commit
98f7ebfb
authored
Apr 30, 2024
by
Yuan Zhixiang
Browse files
修复 修改代码时,stdout不消失的问题
parent
57738076
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/buttons/EditButton.vue
View file @
98f7ebfb
...
...
@@ -2,10 +2,11 @@
import
{
inject
}
from
'
vue
'
;
const
{
edit_mode
,
try_failed
}
=
inject
(
'
app
'
)
const
{
edit_mode
,
try_failed
,
data
}
=
inject
(
'
app
'
)
function
click
()
{
edit_mode
.
value
=
true
try_failed
.
value
=
false
data
.
value
=
{}
}
</
script
>
...
...
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