Преглед на файлове

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);
       }}
     >