Browse Source

(*)大屏页完善

master
peng.peng 1 year 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 { connect } from 'react-redux';
import './style.less'
function homePage(props) {
const { clientHeight } = props;
return <div style={{ width: '100%', height: clientHeight, overflow: 'hidden' }}>
1
</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