How does the jsx syntax use native click events in vue?

1. The code is as follows

        renderContent(h, { node, data, store }) {
            return (
            <span class="custom-tree-node">
                <span class="iconfont icon-wenjianjia"></span>
                <span class="tree-node-name">{node.label}</span>
                <el-dropdown class="MenueTreeDrop" trigger="click">
                    <span class="el-dropdown-link">
                        <i class="el-icon-arrow-right"></i>
                    </span>
                    <el-dropdown-menu slot="dropdown">
                        <el-dropdown-item on-click={ () => this.treeAddShowDialog(data,"add")}></el-dropdown-item>
                        <el-dropdown-item on-click={ () => this.treeAddShowDialog(data,"edite")}></el-dropdown-item>
                        <el-dropdown-item on-click={ () => this.delWorkUnite(data)}></el-dropdown-item>
                    </el-dropdown-menu>
                </el-dropdown>
            </span>);
        },

2. It is found that neither on-click nor onClick takes effect. The reason for
is that if you write click events in element ui drop-down components, you must @ native.click to use native click events. However, native click events are not supported in the jsx syntax.
3. How on earth should I write click events here? Thank you


nativeOnClick= {() = > this.treeAddShowDialog (data,'add')}

clipboard.png


 <button onClick={this.onClick}></button>

my direct onClick also triggered
. It may be that different scenarios
trigger different ways


``
< span

class= "ivu-table-filter ml-5"

nativeOnClick= {() = > {

letpopDom=document.querySelector (".poptip-custom");

popDom.classList.remove ("custom-hide");

popDom.classList.add ("custom-show");

}}

>
``
I report an error in this way, The. Native modifier for v-on is only valid on components but it was used on . Is there any solution for component use only?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b33251-2be79.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b33251-2be79.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?