src/views/basicData/supplierManage/index.vue
@@ -26,6 +26,15 @@ return { activeTab: 'home' } }, watch: { activeTab(newVal) { if (newVal === 'home') { this.$refs.homeTab && this.$refs.homeTab.getList() } else if (newVal === 'blacklist') { this.$refs.blacklistTab && this.$refs.blacklistTab.getList() } } } } </script>