Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hnyc-data
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
hnyc-data
Commits
92529971
Commit
92529971
authored
Apr 29, 2020
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
清除警告
parent
3a737ce1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
8 deletions
+6
-8
.gitignore
.gitignore
+2
-0
assets.js
src/model/assets.js
+1
-1
AssetList.js
src/view/Manage/Assets/components/AssetList.js
+0
-2
AssetListHelper.js
src/view/Manage/Assets/components/AssetListHelper.js
+1
-1
index.jsx
src/view/Manage/Assets/index.jsx
+1
-2
SearchHelper.js
src/view/Manage/Search/components/SearchHelper.js
+1
-1
index.jsx
src/view/Manage/Search/index.jsx
+0
-1
No files found.
.gitignore
View file @
92529971
node_modules
build
\ No newline at end of file
src/model/assets.js
View file @
92529971
import
*
as
service
from
'../service/assets'
;
import
{
call
,
put
}
from
'redux-saga/effects'
;
import
{
call
}
from
'redux-saga/effects'
;
export
function
*
domains
(
payload
)
{
...
...
src/view/Manage/Assets/components/AssetList.js
View file @
92529971
...
...
@@ -10,12 +10,10 @@ import {
Button
,
Rate
,
Tabs
,
Card
,
message
}
from
'antd'
;
import
{
DataDesc
,
DataPreview
,
DataDetail
}
from
'./AssetListHelper'
;
import
{
PostJSON
,
GetJSON
}
from
'../../../../util/axios'
;
import
styles
from
'../style.less'
;
import
{
dispatch
}
from
'../../../../model'
;
...
...
src/view/Manage/Assets/components/AssetListHelper.js
View file @
92529971
import
React
,
{
Component
,
Fragment
,
useEffect
,
useState
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
{
Table
,
Descriptions
,
Icon
}
from
'antd'
;
import
styles
from
'../style.less'
;
...
...
src/view/Manage/Assets/index.jsx
View file @
92529971
import
React
,
{
Component
,
Fragment
}
from
"react"
import
React
,
{
Component
}
from
"react"
import
{
Row
,
Col
,
Card
,
Input
,
Pagination
}
from
'antd'
;
import
classnames
from
'classnames'
;
import
AssetTreeCOM
from
'./components/AssetTree'
;
import
AssetListCOM
from
'./components/AssetList'
;
import
{
GetJSON
}
from
'../../../util/axios'
;
import
{
dispatch
}
from
'../../../model'
;
const
{
Search
}
=
Input
;
...
...
src/view/Manage/Search/components/SearchHelper.js
View file @
92529971
...
...
@@ -107,7 +107,7 @@ export class SearchBar extends Component {
return
(
<
CheckableTag
key
=
{
hotWord
}
checked
=
{
hotWord
==
keyword
}
checked
=
{
hotWord
==
=
keyword
}
onChange
=
{
checked
=>
{
const
{
domain
}
=
this
.
state
;
if
(
checked
)
{
...
...
src/view/Manage/Search/index.jsx
View file @
92529971
import
React
,
{
Component
}
from
"react"
;
import
{
Card
,
Pagination
}
from
'antd'
;
import
{
GetJSON
}
from
'../../../util/axios'
;
import
{
SearchBar
}
from
'./components/SearchHelper'
;
import
AssetListCOM
from
'../Assets/components/AssetList'
;
import
{
dispatch
}
from
'../../../model'
;
...
...
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