diff --git a/web/client/src/layout/actions/global.js b/web/client/src/layout/actions/global.js index 1ac081a5..c7c82fc3 100644 --- a/web/client/src/layout/actions/global.js +++ b/web/client/src/layout/actions/global.js @@ -31,6 +31,7 @@ export function initApiRoot () { return dispatch => { RouteRequest.get(RouteTable.apiRoot).then(res => { localStorage.setItem('tyApiRoot', res.root); + localStorage.setItem('qndmn', res.qndmn); dispatch({ type: INIT_API_ROOT, payload: { diff --git a/web/client/src/sections/quanju/containers/footer/build/index.js b/web/client/src/sections/quanju/containers/footer/build/index.js index 46895a7f..c0e104d6 100644 --- a/web/client/src/sections/quanju/containers/footer/build/index.js +++ b/web/client/src/sections/quanju/containers/footer/build/index.js @@ -49,7 +49,7 @@ const Build = (props) => { // setdata(alltype.filter(item=>item.name!=='null')) setxuandata(res.payload.data) - // console.log(res.payload.data,'宣传栏数据') + console.log(res.payload.data,'宣传栏数据') } let t1 = Object.values(buildingnumber?.townRoad || {}) @@ -112,6 +112,7 @@ const Build = (props) => { )} ) } + console.log(localStorage.getItem("qndmn"),'七牛') return (