Fix button state

This commit is contained in:
Pig Fang 2018-08-12 09:31:35 +08:00
parent b29caca472
commit 0889276494

View File

@ -135,6 +135,7 @@ export default {
}
);
if (errno === 0) {
this.pending = false;
swal({ type: 'success', html: msg });
setTimeout(() => {
window.location = `${blessing.base_url}/${blessing.redirect_to || 'user'}`;