Commit 29e32d80 authored by wty's avatar wty

修改请求地址

parent 10d94168
...@@ -37,7 +37,7 @@ function ContentItem(props) { ...@@ -37,7 +37,7 @@ function ContentItem(props) {
return ( return (
<div className="content-item"> <div className="content-item">
<div className="item-icon" onClick={() => jumpUrl(toolBoxUrl)}> <div className="item-icon" onClick={() => jumpUrl(toolBoxUrl)}>
<img src={itemIcon} alt='' onError={(e) => setItemIcon(defaultIcon)}/> <img src={itemIcon} alt='' onError={(e) => setItemIcon('noImg')}/>
</div> </div>
<div className="item-name" onClick={() => jumpUrl(toolBoxUrl)}>{toolBoxName}</div> <div className="item-name" onClick={() => jumpUrl(toolBoxUrl)}>{toolBoxName}</div>
<div className="item-desc">{toolBoxDesc}</div> <div className="item-desc">{toolBoxDesc}</div>
......
...@@ -20,7 +20,7 @@ function ToolType (props) { ...@@ -20,7 +20,7 @@ function ToolType (props) {
return ( return (
<div className="tab-tool-type"> <div className="tab-tool-type">
<div className={typeId === 'all' ?'item-tool-type item-tool-type-selected' : 'item-tool-type'} onClick={()=>setTypeId('all')}>全部</div> <div className={typeId === 'all' ?'item-tool-type item-tool-type-selected' : 'item-tool-type'} onClick={()=>setTypeId('all')}>工具</div>
<div className={typeId === 'follow' ?'item-tool-type item-tool-type-selected' : 'item-tool-type'} onClick={()=>setTypeId('follow')}>我的收藏</div> <div className={typeId === 'follow' ?'item-tool-type item-tool-type-selected' : 'item-tool-type'} onClick={()=>setTypeId('follow')}>我的收藏</div>
{ {
dataCenter?.type?.length && dataCenter.type.map(v => { dataCenter?.type?.length && dataCenter.type.map(v => {
......
const apiConfig = { const apiConfig = {
domain: 'http://127.0.0.1:3001', domain: 'http://172.16.229.109:3001',
} }
export default apiConfig export default apiConfig
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment