Commit 1b62441f authored by 周宏民's avatar 周宏民

fix: AlarmScrollAssembly添加权限参数

parent ac078fae
...@@ -11,6 +11,7 @@ export default () => { ...@@ -11,6 +11,7 @@ export default () => {
prefix={'报警信息:'} prefix={'报警信息:'}
showTotal={false} showTotal={false}
interval={1} interval={1}
userAccess={true}
/> />
); // 最小宽度930px ); // 最小宽度930px
}; };
...@@ -190,11 +190,13 @@ AlarmScrollAssembly.defaultProps = { ...@@ -190,11 +190,13 @@ AlarmScrollAssembly.defaultProps = {
prefix: '', prefix: '',
showTotal: true, showTotal: true,
interval: 5, interval: 5,
userAccess:false
}; };
AlarmScrollAssembly.propTypes = { AlarmScrollAssembly.propTypes = {
deviceType: PropTypes.string, deviceType: PropTypes.string,
prefix: PropTypes.string, prefix: PropTypes.string,
showTotal: PropTypes.bool, showTotal: PropTypes.bool,
interval: PropTypes.number, interval: PropTypes.number,
userAccess: PropTypes.bool,
}; };
export default AlarmScrollAssembly; export default AlarmScrollAssembly;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment