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
462e6b32
Commit
462e6b32
authored
Sep 03, 2026
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style(utils): 删除多余的空行提升代码整洁度
- 移除 bridge.ts 文件尾部多余空行 - 删除 DocNodeRenderer 组件中不必要的空行 - 优化代码格式,提升代码可读性和一致性
parent
6ef260fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
src/utils/bridge.ts
+0
-1
src/views/editor/components/DocNodeRenderer/index.vue
+0
-2
No files found.
src/utils/bridge.ts
View file @
462e6b32
...
@@ -146,7 +146,6 @@ export const getMainData = (...args: any[]) => {
...
@@ -146,7 +146,6 @@ export const getMainData = (...args: any[]) => {
return
defaultGetMainData
(...(
args
as
[
string
?]))
return
defaultGetMainData
(...(
args
as
[
string
?]))
}
}
/**
/**
* 注册编辑器的桥接事件监听器 (用于集成模式下响应父级提取 XML/PDF 数据的请求)
* 注册编辑器的桥接事件监听器 (用于集成模式下响应父级提取 XML/PDF 数据的请求)
* 返回一个清理函数,用于组件卸载时注销所有监听器
* 返回一个清理函数,用于组件卸载时注销所有监听器
...
...
src/views/editor/components/DocNodeRenderer/index.vue
View file @
462e6b32
...
@@ -1554,8 +1554,6 @@ const getImgSrc = (gnbr: string) => {
...
@@ -1554,8 +1554,6 @@ const getImgSrc = (gnbr: string) => {
return
target
return
target
}
}
const
getInheritedTitle
=
()
=>
{
const
getInheritedTitle
=
()
=>
{
if
(
props
.
node
.
tagName
!==
'SHEET'
)
return
''
if
(
props
.
node
.
tagName
!==
'SHEET'
)
return
''
if
(
props
.
node
.
children
.
some
((
c
)
=>
c
.
tagName
===
'TITLE'
||
c
.
tagName
===
'TITLEC'
))
{
if
(
props
.
node
.
children
.
some
((
c
)
=>
c
.
tagName
===
'TITLE'
||
c
.
tagName
===
'TITLEC'
))
{
...
...
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