From 5c1972a59ae6444814b1235917d8a5464be21b59 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 21 Oct 2021 17:32:39 +0800
Subject: [PATCH] 表格错乱

---
 src/views/securityUnitChild/social.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/views/securityUnitChild/social.vue b/src/views/securityUnitChild/social.vue
index d13c4a8..54a2354 100644
--- a/src/views/securityUnitChild/social.vue
+++ b/src/views/securityUnitChild/social.vue
@@ -73,7 +73,7 @@
 import { mapGetters } from "vuex";
 import { getToken } from "@/util/auth";
 export default {
-  props: ["deptid"],
+  props: ["deptid", "socialRE"],
   data() {
     var deptid = this.deptid;
     if (this.deptid == undefined) {
@@ -380,6 +380,10 @@
           this.deptid;
       }
     },
+    socialRE() {
+      this.$refs.crud.refreshTable();
+      this.$refs.crud.doLayout();
+    },
   },
   computed: {
     ...mapGetters(["permission", "userInfo"]),
@@ -552,6 +556,8 @@
         this.page.total = data.total;
         this.data = data.records;
         this.loading = false;
+        this.$refs.crud.refreshTable();
+        this.$refs.crud.doLayout();
         this.selectionClear();
       });
     },

--
Gitblit v1.9.3