cyy 1 год назад
Родитель
Сommit
56f8b6df21
1 измененных файлов с 6 добавлено и 2 удалено
  1. 6 2
      src/views/platform/org/position/detail/position-employee.vue

+ 6 - 2
src/views/platform/org/position/detail/position-employee.vue

@@ -238,7 +238,9 @@ export default {
                 this.selectorVisible = false
                 ActionUtils.success('加入人员成功!')
                 this.search()
-                location.reload()
+                setTimeout(() => {
+                    location.reload()
+                }, 1000);
             })
             this.handleUpemployee('add', userIdsStr)
         },
@@ -249,7 +251,9 @@ export default {
             }).then(response => {
                 ActionUtils.removeSuccessMessage()
                 this.search()
-                location.reload()
+                setTimeout(() => {
+                    location.reload()
+                }, 1000);
             })
             this.handleUpemployee('remove', ids)
         },