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
afe8d920
Commit
afe8d920
authored
Sep 30, 2026
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(editor): 合并并简化imports语句
- 将多行导入语句合并为单行,提升代码简洁度 - 优化了EditorPanel的functionals模块导入格式 - 保持了原有的类型和常量导入完整性
parent
4c7b7627
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
7 deletions
+1
-7
src/views/editor/components/EditorPanel/functionals/index.ts
+1
-7
No files found.
src/views/editor/components/EditorPanel/functionals/index.ts
View file @
afe8d920
import
{
useEditorStore
}
from
'@/store/editor'
import
{
useEditorStore
}
from
'@/store/editor'
import
{
useAppStore
}
from
'@/store/app'
import
{
useAppStore
}
from
'@/store/app'
import
type
{
XmlNode
}
from
'@/types/xmlNode'
import
type
{
XmlNode
}
from
'@/types/xmlNode'
import
{
import
{
CALS_TABLE_ALL_TAGS_SET
,
getNodeEstimatedHeight
,
getEditorBlocks
,
type
EditorBlock
,
type
BlockPosition
}
from
'../constants'
CALS_TABLE_ALL_TAGS_SET
,
getNodeEstimatedHeight
,
getEditorBlocks
,
type
EditorBlock
,
type
BlockPosition
}
from
'../constants'
import
{
addNodeVisible
,
addNodeMode
,
addNodeTargetId
,
addNodeAllowedTags
}
from
'../../NodeTree/functionals'
import
{
addNodeVisible
,
addNodeMode
,
addNodeTargetId
,
addNodeAllowedTags
}
from
'../../NodeTree/functionals'
const
getRealNodeId
=
(
id
:
string
):
string
=>
{
const
getRealNodeId
=
(
id
:
string
):
string
=>
{
...
...
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