Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
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
zhaochengxiang
szse
Commits
1b45d9e0
Commit
1b45d9e0
authored
Jan 16, 2024
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
30ddeff9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
select-search-properties.jsx
src/view/Manage/Model/Component/select-search-properties.jsx
+1
-6
index.jsx
src/view/Manage/Model/index.jsx
+1
-1
No files found.
src/view/Manage/Model/Component/select-search-properties.jsx
View file @
1b45d9e0
...
...
@@ -16,12 +16,7 @@ const FC = (props) => {
const
save
=
()
=>
{
const
searchProperties
=
basicRef
.
current
.
searchProperties
if
((
searchProperties
??[]).
length
===
0
)
{
showMessage
(
'warn'
,
'请先添加筛选条件'
)
return
}
close
(
searchProperties
)
close
(
searchProperties
??[])
}
const
footer
=
React
.
useMemo
(()
=>
{
...
...
src/view/Manage/Model/index.jsx
View file @
1b45d9e0
...
...
@@ -316,7 +316,7 @@ class Model extends React.Component {
onSearchPropertiesCancel = (searchProperties) => {
this.setState({ selectSearchPropertiesVisible: false })
if (
(searchProperties??[]).length > 0
) {
if (
searchProperties
) {
this.setState({ loadingTableData: true, keyword: '', catalogId: '', searchProperties }, () => {
this.onTableChange()
})
...
...
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