From 72de58596e610c9f7864083e7d859ec0ed889a25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98lijianhao=E2=80=99?= Date: Thu, 28 Jul 2022 14:36:12 +0800 Subject: [PATCH] =?UTF-8?q?loca=E5=BC=95=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/index.ejs | 1 + .../src/sections/organization/containers/user.js | 1 - .../quanju/containers/footer/conserve/index.js | 15 +++++++-------- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/web/client/index.ejs b/web/client/index.ejs index a91dbdd7..0d79375c 100644 --- a/web/client/index.ejs +++ b/web/client/index.ejs @@ -15,6 +15,7 @@ } + diff --git a/web/client/src/sections/organization/containers/user.js b/web/client/src/sections/organization/containers/user.js index b32dffc2..634c2c7c 100644 --- a/web/client/src/sections/organization/containers/user.js +++ b/web/client/src/sections/organization/containers/user.js @@ -374,7 +374,6 @@ const UserManage = (props) => { function mapStateToProps(state) { const { depMessage, depUser, global } = state; - console.log('depMessage:', depMessage); // console.log(state); return { clientHeight: global.clientHeight, diff --git a/web/client/src/sections/quanju/containers/footer/conserve/index.js b/web/client/src/sections/quanju/containers/footer/conserve/index.js index 7a141fe5..8d6328c1 100644 --- a/web/client/src/sections/quanju/containers/footer/conserve/index.js +++ b/web/client/src/sections/quanju/containers/footer/conserve/index.js @@ -19,25 +19,24 @@ const Conserve = (props) => { setLoading(false) setRoadData(res.payload.data || {}) }) - dispatch(getHighways()).then(res =>{ + dispatch(getHighways()).then(res => { setHighwaysData(res.payload.data || []) }) - dispatch(getRoadMaintenances()).then(res =>{ + dispatch(getRoadMaintenances()).then(res => { setRoadMaintenances(res.payload.data || []) }) }, []) return ( -
-
- - +
+
+ + +
-
) } function mapStateToProps(state) { - // const { auth } = state; return {