Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
66f486e8
Commit
66f486e8
authored
Jan 12, 2023
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保函文本组件完善
parent
41befe47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
XmlFormatEditor.vue
src/components/XmlFormatEditor.vue
+14
-11
No files found.
src/components/XmlFormatEditor.vue
View file @
66f486e8
...
...
@@ -19,19 +19,22 @@ export default {
};
},
watch
:
{
model
()
{
let
rows
=
this
.
model
[
"rows"
]
||
[];
let
enabled
=
false
if
(
this
.
$refs
.
editor
.
quill
)
{
enabled
=
this
.
$refs
.
editor
.
quill
.
isEnabled
()
this
.
$refs
.
editor
.
quill
.
enable
(
false
)
}
this
.
value
=
this
.
show
(
rows
);
this
.
$nextTick
(()
=>
{
model
:
{
handler
:
function
(
newVal
,
oldVal
)
{
let
rows
=
this
.
model
[
"rows"
]
||
[];
let
enabled
=
false
;
if
(
this
.
$refs
.
editor
.
quill
)
{
this
.
$refs
.
editor
.
quill
.
enable
(
enabled
)
enabled
=
this
.
$refs
.
editor
.
quill
.
isEnabled
();
this
.
$refs
.
editor
.
quill
.
enable
(
false
);
}
})
this
.
value
=
this
.
show
(
rows
);
this
.
$nextTick
(()
=>
{
if
(
this
.
$refs
.
editor
.
quill
)
{
this
.
$refs
.
editor
.
quill
.
enable
(
enabled
);
}
});
},
immediate
:
true
},
},
methods
:
{
...
...
Write
Preview
Markdown
is supported
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