We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当页面中使用table布局时,如DOM结果如下,就无法使用Panel控件来动态添加内容,因为当tr那段代码被插入div中时,会自动转化为div了(插入div的代码),导致无法使用:
<table> <thead> <tr> <th>1</th> <th>2</th> </tr> </thead> <tbody data-ui-type="Panel"> </tbody> </table> <!-- target: xxx --> <tr> <td>1</td> <td>2</td> </tr>
The text was updated successfully, but these errors were encountered:
这个问题比较麻烦,要处理所有table系列的标签,如果你可以给个PR的话非常欢迎,不然的话可能需要一些时间
另外你使用的是什么版本的esui?3.2的话因为有jq可能会容易些
Sorry, something went wrong.
我有时间看一下吧,似乎不需要这个 div,直接用 insertAdjacentHTML 就行。
div
insertAdjacentHTML
No branches or pull requests
当页面中使用table布局时,如DOM结果如下,就无法使用Panel控件来动态添加内容,因为当tr那段代码被插入div中时,会自动转化为div了(插入div的代码),导致无法使用:
The text was updated successfully, but these errors were encountered: