Explorar el Código

返回刷新页面

duy hace 2 años
padre
commit
4f015dbdcc
Se han modificado 1 ficheros con 6 adiciones y 3 borrados
  1. 6 3
      src/views/tentative/detect/test-form.vue

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

@@ -846,9 +846,9 @@ const tableFormSaveClick = async () => {
                           listItemBaseData.value.id=data
                     bussPdfsClick(nodeIdvalue.value)
                     toBackClick()
-                     setTimeout(() => {
-                            window?.location?.reload()  //刷新页面
-                     }, 1000);
+                    //  setTimeout(() => {
+                    //         window?.location?.reload()  //刷新页面
+                    //  }, 1000);
                        
                     }
                 
@@ -1107,6 +1107,9 @@ const toBackClick = () => {
         path: '/tentative/detect/test',
         query: {}
     })
+      setTimeout(() => {
+                            window?.location?.reload()  //刷新页面
+      }, 1000);
 }
 const updeviceUseIds = (val) => {
     listItemBaseData.value.deviceUseIds=val