vuejs2 | 您所在的位置:网站首页 › thymeleaf使用vue › vuejs2 |
You'll need to use the th:attr directive. For example See https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#setting-the-value-of-any-attribute Update: to use th:attr with HTML5 invalid attributes (like v-bind:text), you need to quote the attribute name (fixed above). This produces the following markup You may note that this is not a valid Vue binding expression so perhaps you don't actually want to use binding and instead use which would produce |
今日新闻 |
推荐新闻 |
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 |