Browse Source

elective - missing inject

hare8999@163.com 2 years ago
parent
commit
1e459e0c02

+ 5 - 0
src/views/elective/select/components/elective-preference-batch.vue

@@ -14,6 +14,11 @@ export default {
   name: 'elective-preference-batch',
   components: { ElectivePreferenceDrag },
   props: ['generation', 'disabled'],
+  inject: {
+    refreshData: {
+      default: function() {}
+    }
+  },
   computed: {
     selectedList() {
       return this.generation.activeModel.selectedList