The content of the tree custom node in element is a radio box, which cannot be selected in the radio box.

1. Custom node content, but cannot bind values when using an element component

clipboard.png
Code:
< span class= "custom-tree-node" >

        <span  on-click={ () => this.append(data) } >
        <el-radio  v-model="node.id" label="node.id">{node.label}+{node.id}</el-radio>
        </span>
      </span>);

ask the great god for advice

Nov.30,2021
Menu