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

fix: AlarmScrollAssembly添加权限参数

parent ac078fae
......@@ -11,6 +11,7 @@ export default () => {
prefix={'报警信息:'}
showTotal={false}
interval={1}
userAccess={true}
/>
); // 最小宽度930px
};
......@@ -190,11 +190,13 @@ AlarmScrollAssembly.defaultProps = {
prefix: '',
showTotal: true,
interval: 5,
userAccess:false
};
AlarmScrollAssembly.propTypes = {
deviceType: PropTypes.string,
prefix: PropTypes.string,
showTotal: PropTypes.bool,
interval: PropTypes.number,
userAccess: PropTypes.bool,
};
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