Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
submodule
Project
Project
Details
Activity
Releases
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
web_component
submodule
Commits
16417afd
Commit
16417afd
authored
Feb 14, 2020
by
caichuanming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
高级搜索空数组兼容
parent
989f979c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
index.js
components/SearchView/index.js
+7
-5
No files found.
components/SearchView/index.js
View file @
16417afd
...
...
@@ -361,11 +361,13 @@ class SearchView extends React.Component {
return
this
.
_renderRow
(
arr
,
index
);
})}
{
/* 高级搜索 */
}
<
SearchViewAdvanced
>
{
advancedSearchCols
.
map
((
arr
,
index
)
=>
{
return
this
.
_renderRow
(
arr
,
index
);
})}
<
/SearchViewAdvanced
>
{
Array
.
isArray
(
advancedSearchCols
)
&&
advancedSearchCols
.
length
>
0
?
(
<
SearchViewAdvanced
>
{
advancedSearchCols
.
map
((
arr
,
index
)
=>
{
return
this
.
_renderRow
(
arr
,
index
);
})}
<
/SearchViewAdvanced
>
)
:
null
}
<
/BIForm
>
);
}
...
...
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