For example, I have another table with an uncertain number of TDs in the table. I need to add an element-ui tooltip to the outer layer of this uncertain number of TDs. Initially, I feel that I should use the vue.component() method, but I can’t write it well no matter how I write it, so I can only ask you for help. Thank you in advance~~
If the number of td is uncertain, you should use v-for to render the list. Then the corresponding tooltip can also be placed in it for conditional rendering
In addition, only tr elements should be used outside td, so the tooltip should be inside td, and then contain another p or span element.