yaowanxin
昨天 ef0aecb46fedc89368326f31592dacecc7aaaed4
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>