Browse Source

fix 跳转路径添加斜杠

anxiaoxia 2 years ago
parent
commit
ac6c3c4cde
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/layouts/index.jsx

+ 2 - 2
src/layouts/index.jsx

@@ -111,7 +111,7 @@ export default (props) => {
   setTimer.current = null;
   setTimer.current = setTimeout(() => {
     console.log('----没有点击,退出');
-    window.open('http://10.100.28.70/saasweb/middleware', '_top');
+    window.open('http://10.100.28.70/saasweb/middleware/', '_top');
   }, 1000 * 60 * 5);
 
   useEffect(() => {
@@ -127,7 +127,7 @@ export default (props) => {
         setTimer.current = null;
         setTimer.current = setTimeout(() => {
           console.log('----点击超时,退出');
-          window.open('http://10.100.28.70/saasweb/middleware', '_top');
+          window.open('http://10.100.28.70/saasweb/middleware/', '_top');
         }, 1000 * 60 * 5);
       }}
     >