spring
12 小时以前 fa4ea8dd99638f58da60ac283186113619cc7e6e
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>