dengyinhuan
2 years ago
2 changed files with 7 additions and 6 deletions
@ -1,7 +1,7 @@ |
|||
import React from 'react' |
|||
|
|||
export default function NoData() { |
|||
export default function NoData({style}) { |
|||
return ( |
|||
<div style={{color:"#fff",textAlign:'center',height:"100%",display:'flex',alignItems: "center",justifyContent: "space-around"}}>暂无数据</div> |
|||
<div style={{color:"#fff",textAlign:'center',height:style?.height||"100%",display:'flex',alignItems: "center",justifyContent: "space-around"}}>暂无数据</div> |
|||
) |
|||
} |
|||
|
Loading…
Reference in new issue