Explorar o código

返回不刷新页面

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
61cc459c45
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/views/tentative/detect/test-form.vue

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

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