我这里的在使用messageBox弹窗的时候,点击取消也会执行修改密码 这种情况可能是element组件有bug #我们只需要在then里面判断action就可以啦!!! 代码 submitForm() {