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.
我的 Rails 应用程序中有一个视图,其中包含一个链接:
= link_to 'abc', abc_url, remote: true
此链接在其自身上按预期工作。
但我将它嵌入到mdc 库的抽屉组件中。现在该链接似乎像常规链接一样工作。
抽屉打开后有没有办法重新初始化rails-ujs?还是规避问题?