How to submit form to server in Angular2?

前端 未结 4 1547
萌比男神i
萌比男神i 2020-12-01 03:47

Now the submission has been caught by angular2 even with action= in the

.

demo link: http://plnkr.co/edit/4wpTwN0iCPeublhNumT5?p=preview



        
4条回答
  •  没有蜡笔的小新
    2020-12-01 04:04

    Hey if any one else ever has some annoying issue in Firefox when posting a form to a new url causes a page refresh and does not follow through to the page add target="_parent" and will fix the issue.

提交回复
热议问题