@@ -33,10 +33,10 @@ class SecurityLayout extends React.Component {
if (!currentUser.userId) {
return <Redirect to="/user/login"></Redirect>;
}
-
+ console.log(window.location, "window.locationwindow.locationwindow.location")
return <>
{children}
- <Swiper />
+ {window.location.hash == "#/index" && <Swiper />}
</>;