vue-tree icon indicating copy to clipboard operation
vue-tree copied to clipboard

v3.2.0版本,底层节点会显示展开图标

Open wang-pengju opened this issue 1 year ago • 1 comments

Bug 描述 v3.2.0版本,底层节点会显示展开图标 路径:/src/components/TreeNode.vue

// v3.2.0版本
const expandCls = computed(() => {
      return [
        `${prefixCls}__square`,
        `${prefixCls}__expand`,
        {
          [`${prefixCls}__expand_active`]: props.data?.expand
        }
      ]
    })
// v3.1.0版本
const expandCls = computed(() => {
      return [
        `${prefixCls}__square`
        {
          [`${prefixCls}__expand_active`]: props.data?.expand
        }
      ]
    })

wang-pengju avatar Dec 19 '23 08:12 wang-pengju

什么意思呢,能清晰描述一下你遇到的问题,并给个复现示例吗

ChuChencheng avatar Dec 24 '23 08:12 ChuChencheng