4.3

HTML button属性会自动刷新页面,可以加一个type="button"来解决。

原文地址:https://www.cnblogs.com/zhaoyids/p/14884037.html