How to update the value of nested assigns in LiveView

后端 未结 0 2008
陌清茗
陌清茗 2021-01-22 16:54

I’m trying to use nested assigns but cannot find a way to update its values… Imagine I have this:

def mount(socket) do
    socket = assign(socket, state: [value1:         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题