Angular输入框内按下回车会触发其它button的点击事件的解决方法

方法:给button按钮添加type=“botton”属性

原文地址:https://www.cnblogs.com/shixy1617/p/10942420.html