edit button stop load function

master
就眠仪式 2021-04-07 02:21:57 +08:00
parent 5c6328e1f6
commit d32703c34b
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ layui.define(['jquery'], function(exports) {
* */ * */
button.prototype.stop = function(success) { button.prototype.stop = function(success) {
$(this.option.elem).html(this.option.text); $(this.option.elem).html(this.option.text);
success(); success && success();
} }
exports(MOD_NAME, new button()); exports(MOD_NAME, new button());