.setting-wrapper
= form_for flow, as: :flow, url: [:admin, flow], remote: true do |f|
= f.text_area :extra_rules, placeholder: '请输入 extra rules'
.setting-actions.justify-between
.left
= f.submit '保存'
Parameters: {"utf8"=>"✓", "flow"=>{"extra_rules"=>"{one:1,two:2}"}, "commit"=>"保存", "id"=>"97"}
我现在从前端拿到的是字符串,没办法解析成 json