Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swifteditor
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
daixuan
swifteditor
Commits
96b60e24
Commit
96b60e24
authored
Dec 10, 2018
by
fukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支持15系列空栏位根据上下文添加
parent
9d71867a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
SWFPage2.js
src/swift/SWFPage2.js
+11
-2
No files found.
src/swift/SWFPage2.js
View file @
96b60e24
...
...
@@ -160,12 +160,21 @@ export class SWFPage extends Component
else
this
.
props
.
history
.
push
(
"preview/1"
)
}
joinMessage
(
tags
,
arr
)
joinMessage
(
tags
,
arr
,
seqlist
)
{
for
(
let
item
of
tags
)
{
if
(
item
.
tag
)
{
if
(
item
.
tag
.
indexOf
(
'15'
)
>-
1
)
{
//15系列字段
if
(
seqlist
&&
this
.
props
.
extra
.
countMap
&&
this
.
props
.
extra
.
countMap
[
seqlist
])
{
arr
.
push
(
`:
${
item
.
tag
}
:`
)
}
}
if
(
!
item
.
tagValue
)
continue
if
(
typeof
item
.
tagValue
==
'string'
&&
item
.
tagValue
)
...
...
@@ -183,7 +192,7 @@ export class SWFPage extends Component
else
if
(
item
.
seqlist
)
{
for
(
let
seq
of
item
.
seqs
)
this
.
joinMessage
(
seq
,
arr
)
this
.
joinMessage
(
seq
,
arr
,
item
.
seqlist
)
}
}
}
...
...
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