Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
Ifar-Xml-Edtor
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
pangchong
Ifar-Xml-Edtor
Commits
f4b7cfd2
Commit
f4b7cfd2
authored
Jul 17, 2026
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 重新写工卡对比
parent
a65ea933
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
24 deletions
+0
-24
src/views/editor/components/EditorToolbar/components/CompareModal/constants/index.ts
+0
-24
src/views/editor/components/EditorToolbar/components/CompareModal/functionals/index.ts
+0
-0
src/views/editor/components/EditorToolbar/components/CompareModal/index.vue
+0
-0
No files found.
src/views/editor/components/EditorToolbar/components/CompareModal/constants/index.ts
View file @
f4b7cfd2
export
interface
DiffMixedContentItem
{
type
:
'text'
|
'element'
text
?:
string
nodeId
?:
string
diffStatus
?:
'added'
|
'removed'
|
'modified'
|
'none'
diffWords
?:
{
value
:
string
;
added
?:
boolean
;
removed
?:
boolean
}[]
}
export
interface
DiffXmlNode
{
id
:
string
tagName
:
string
attributes
:
Record
<
string
,
string
>
children
:
DiffXmlNode
[]
textContent
:
string
mixedContent
:
DiffMixedContentItem
[]
parentId
:
string
|
null
diffStatus
:
'added'
|
'removed'
|
'modified'
|
'none'
}
export
interface
DiffLine
{
type
:
'added'
|
'removed'
|
'normal'
|
'empty'
num
?:
number
content
:
string
}
src/views/editor/components/EditorToolbar/components/CompareModal/functionals/index.ts
View file @
f4b7cfd2
This diff is collapsed.
Click to expand it.
src/views/editor/components/EditorToolbar/components/CompareModal/index.vue
View file @
f4b7cfd2
This diff is collapsed.
Click to expand it.
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