Browse Source

(*)大屏页完善

master
peng.peng 2 years ago
parent
commit
8b7654f5ea
  1. 20
      web/client/src/sections/homePage/containers/homePage.js

20
web/client/src/sections/homePage/containers/homePage.js

@ -1,11 +1,25 @@
import React, { useEffect, useState } from 'react' import React, { useEffect, useState } from 'react'
import { connect } from 'react-redux';
import './style.less' import './style.less'
function homePage(props) { function homePage(props) {
const { clientHeight } = props;
return <div style={{ width: '100%', height: clientHeight, overflow: 'hidden' }}> return <div style={{ width: '100%', height: clientHeight, overflow: 'hidden' }}>
1
</div> </div>
} }
export default homePage function mapStateToProps(state) {
const {
auth, global
} = state;
return {
clientHeight: global.clientHeight,
actions: global.actions,
};
}
export default connect(mapStateToProps)(homePage);

Loading…
Cancel
Save