From af704722a5ce9b955250b7ee3000df4c2561997a Mon Sep 17 00:00:00 2001 From: dinglink <837816638@qq.com> Date: Sun, 15 Mar 2020 12:19:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/paths/ShixunPathSearch.js | 4 ++-- .../react/src/modules/tpm/shixuns/shixun-search-bar/index.jsx | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/public/react/src/modules/paths/ShixunPathSearch.js b/public/react/src/modules/paths/ShixunPathSearch.js index 844215974..ce3aac409 100644 --- a/public/react/src/modules/paths/ShixunPathSearch.js +++ b/public/react/src/modules/paths/ShixunPathSearch.js @@ -170,7 +170,7 @@ class ShixunPathSearch extends Component {
{ list.map((tag, e) => { - return ( + return ( this.getshixunchildValues(e, tag.id, item)}>{tag.name} ) @@ -242,7 +242,7 @@ class ShixunPathSearch extends Component { sortList && sortList.map((item, key) => { return (
  • this.changeSelect(e, `${item.id}`, item.sub_disciplines.length)} key={key}> - this.getmenu(item.sub_disciplines, item)} placement="bottomCenter"> + this.getmenu(item.sub_disciplines, item)} placement="bottomLeft"> {item.name}
  • diff --git a/public/react/src/modules/tpm/shixuns/shixun-search-bar/index.jsx b/public/react/src/modules/tpm/shixuns/shixun-search-bar/index.jsx index c936de66d..8a0387581 100644 --- a/public/react/src/modules/tpm/shixuns/shixun-search-bar/index.jsx +++ b/public/react/src/modules/tpm/shixuns/shixun-search-bar/index.jsx @@ -84,6 +84,7 @@ export default ({ StatusEnquiry, allUpdatashixunlist, Updatasearchlist }) => { } init() }, []) + // item.id < 4 ? "bottomRight" : item.id >= 8 ? "bottomLeft" : "bottomCenter" return (
    @@ -95,7 +96,7 @@ export default ({ StatusEnquiry, allUpdatashixunlist, Updatasearchlist }) => { { navs.map((item, key) => { return ( - = 8 ? "bottomLeft" : "bottomCenter"}> +
  • {item.name}