mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +08:00
fix: hide tour component for mobile (#2317)
This commit is contained in:
@ -150,7 +150,7 @@ const Dashboard = (props) => {
|
||||
{renderEChart()}
|
||||
<div id="echarts-chart" style={{width: "80%", height: "400px", textAlign: "center", marginTop: "20px"}} />
|
||||
<Tour
|
||||
open={isTourVisible}
|
||||
open={Setting.isMobile() ? false : isTourVisible}
|
||||
onClose={setIsTourToLocal}
|
||||
steps={getSteps()}
|
||||
indicatorsRender={(current, total) => (
|
||||
|
Reference in New Issue
Block a user