打印

render_component过去后js失效

render_component过去后js失效

比如我有个action a,我在另一个action b中把a render_component过去后我在a中本来可以使用的js失效了,我该怎么解决?
不知道大家看懂我说的了吗?

TOP

咋今天就没人呢?都去做什么了```

TOP

这个问题根本没法回答

看不到问题在哪里,也不知道什么js失效了,更谈不上为什么失效了

没有实际的问题,别人没法帮你解决

另,除非必要不要用component
First they ignore you, then they laugh at you, then they fight you, then you win.

TOP

恩呢,我还是搞成render :partial的形式吧```
我发现用component的确好象问题蛮多的,网上我看到有人也这么说

TOP