diff --git a/src/forums/Component/ListSearch.jsx b/src/forums/Component/ListSearch.jsx index 23026541..7dca6da0 100644 --- a/src/forums/Component/ListSearch.jsx +++ b/src/forums/Component/ListSearch.jsx @@ -1,10 +1,9 @@ import React from 'react'; import { Input } from 'antd'; -import { Greenback } from '../css/layout'; import { Link } from 'react-router-dom'; const Search = Input.Search; -export default (({ onSearch , current_user })=>{ +export default (({ onSearch , current_user , showLoginDialog })=>{ return( @@ -14,7 +13,7 @@ export default (({ onSearch , current_user })=>{ 写点什么 : - + 写点什么 } diff --git a/src/forums/Forums.js b/src/forums/Forums.js index 080e879e..b86ea4c3 100644 --- a/src/forums/Forums.js +++ b/src/forums/Forums.js @@ -155,7 +155,7 @@ function aa(props) {
- +
diff --git a/src/forums/Theme.js b/src/forums/Theme.js index 3006cfb1..2a789fb5 100644 --- a/src/forums/Theme.js +++ b/src/forums/Theme.js @@ -28,6 +28,7 @@ function theme(props) { let plateMainId = props.match.params.plateMainId; let current_user = props.current_user; +// console.log("111",props); // 获取列表 useEffect(() => { if (plateMainId) { @@ -145,7 +146,7 @@ function theme(props) { - +