Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
a65c2870
"vscode:/vscode.git/clone" did not exist on "2c334d6c176a88c26e580fe06fefaf89f94b9782"
Commit
a65c2870
authored
Aug 31, 2020
by
HaoRan
Committed by
Gitee
Aug 31, 2020
Browse files
修复Editor组件无法对响应式更新null值问题
parent
1af0d166
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/components/Editor/index.vue
View file @
a65c2870
...
@@ -71,9 +71,9 @@ export default {
...
@@ -71,9 +71,9 @@ export default {
value
:
{
value
:
{
handler
(
val
)
{
handler
(
val
)
{
if
(
val
!==
this
.
currentValue
)
{
if
(
val
!==
this
.
currentValue
)
{
this
.
currentValue
=
val
;
this
.
currentValue
=
val
===
null
?
""
:
val
;
if
(
this
.
Quill
)
{
if
(
this
.
Quill
)
{
this
.
Quill
.
pasteHTML
(
this
.
v
alue
);
this
.
Quill
.
pasteHTML
(
this
.
currentV
alue
);
}
}
}
}
},
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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