elementUI tree组件收起方法

this.$nextTick(() => {
          for (let i = 0; i < (this.$refs.sourceTree as any).store._getAllNodes().length; i++) {
            (this.$refs.sourceTree as any).store._getAllNodes()[i].expanded = false
          }
        })

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-19
相关资源
相似解决方案