Browse Source

合模列表刷新

Alfyn 1 month ago
parent
commit
1adbdd8a0f
1 changed files with 6 additions and 2 deletions
  1. 6 2
      src/views/modelManage/index.vue

+ 6 - 2
src/views/modelManage/index.vue

@@ -23,7 +23,7 @@
         </a-spin>
       </a-tab-pane>
       <a-tab-pane key="2" :tab="$t('model.CombineModel-List')" force-render>
-        <combine-model-list />
+        <combine-model-list ref="combineModelList"/>
       </a-tab-pane>
     </a-tabs>
   </div>
@@ -81,7 +81,11 @@ export default {
     )
   },
   methods: {
-    callback(key) {},
+    callback(key) {
+      if(key === '2'){
+        this.$refs.combineModelList.initModelList()
+      }
+    },
   },
 }
 </script>