Skip to content

Commit 8c3990e

Browse files
author
hikki
committed
1.5
1 parent d488a90 commit 8c3990e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

resources/assets/component.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,10 +490,11 @@ class ComponentPlane {
490490
}
491491
if (response.code == 0) {
492492
window.location.reload();
493+
return;
493494
} else {
494495
_componentAlert(response.message, 3, function () {
495-
obj.removeAttribute('disabled');
496-
obj.innerText = '提交';
496+
element.removeAttribute('disabled');
497+
element.innerText = '提交';
497498
});
498499
}
499500
});

0 commit comments

Comments
 (0)