瀏覽代碼

fix 跳转路径添加斜杠

anxiaoxia 2 年之前
父節點
當前提交
ac6c3c4cde
共有 1 個文件被更改,包括 2 次插入2 次删除
  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);
       }}
     >