问题
I am trying to implement
{{#my-custom-component}}
{{my-other-component field=(some-section someSection "PARAM_1" "PARAM_2") onChangeField=(action 'enable' "PARAM_3")}}
{{/my-custom-component}}
So I want to display/render my-other-component inside my-custom-component. So I'll have a {{yield}}
inside my-custom-component.
Currently with the above, I am getting
RangeError: Maximum call stack size exceeded
I suspect I am not passing the params properly.
来源:https://stackoverflow.com/questions/45462699/ember-render-template-using-yield