chenrui  3 anni fa
parent
commit
5d13fdad10
1 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  1. 5 2
      src/components/Table/index.vue

+ 5 - 2
src/components/Table/index.vue

@@ -419,8 +419,11 @@ export default {
     dataContent: {
     dataContent: {
       handler(val) {
       handler(val) {
         if (val) {
         if (val) {
-          this.resetTable();
-          this.getQuery();
+          console.log(val);
+          if (val.companyID) {
+            this.resetTable();
+            this.getQuery();
+          }
         }
         }
       },
       },
       deep: true,
       deep: true,