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
68e220a9
Commit
68e220a9
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
8 deletions
+14
-8
XmlFormatEditor.vue
src/components/XmlFormatEditor.vue
+14
-8
No files found.
src/components/XmlFormatEditor.vue
View file @
68e220a9
...
...
@@ -19,22 +19,28 @@ export default {
};
},
watch
:
{
model
()
{
model
:
function
(
newVal
,
oldVal
)
{
this
.
updateValue
();
},
},
mounted
()
{
this
.
updateValue
();
},
methods
:
{
updateValue
()
{
let
rows
=
this
.
model
[
"rows"
]
||
[];
let
enabled
=
false
let
enabled
=
false
;
if
(
this
.
$refs
.
editor
.
quill
)
{
enabled
=
this
.
$refs
.
editor
.
quill
.
isEnabled
()
this
.
$refs
.
editor
.
quill
.
enable
(
false
)
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
)
this
.
$refs
.
editor
.
quill
.
enable
(
enabled
)
;
}
})
})
;
},
},
methods
:
{
// 修改文本后的失去焦点事件
blurEvent
(
quill
)
{
if
(
this
.
model
&&
this
.
model
.
rows
)
{
...
...
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