Browse Source

返回不刷新

duy 2 năm trước cách đây
mục cha
commit
05a5b5d993
2 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 1 1
      src/config/index.json
  2. 3 3
      src/views/tentative/detect/test-form.vue

+ 1 - 1
src/config/index.json

@@ -1,6 +1,6 @@
 {
     "version": "20230607160059",
-    "target": "http://192.168.0.109:8090",
+    "target": "http://47.110.251.215:8090",
     "smsPhone": "",
     "vite": {
         "port": 5174,

+ 3 - 3
src/views/tentative/detect/test-form.vue

@@ -1449,9 +1449,9 @@ const toBackClick = () => {
         path: '/tentative/detect/test',
         query: {}
     })
-    setTimeout(() => {
-        window?.location?.reload()  //刷新页面
-    }, 1000);
+    // setTimeout(() => {
+    //     window?.location?.reload()  //刷新页面
+    // }, 1000);
 }
 
 const updeviceUseIds = (val) => {