我们在给组件添加事件的时候一般可以这样 1 <input type="button" value="submit" onclick="method()" /> <input type="button" v 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交