Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 Java 项目中,我们使用 riot.js 使用外部标记文件。单击 html 对象时,我们将数据安装到屏幕上,如下例所示
riot.mount('.detail','health',dataObject);
但问题是有时 riot.mount 工作和动态数据渲染成功,但有时它不工作(不渲染动态数据)
请任何人都可以建议我每次都安装我的数据。我也尝试过 riot.compiler 并设置间隔但仍然无法正常工作。