fix:输入框选取消时不执行回调。

This commit is contained in:
lizhuoyuan 2025-02-07 10:56:03 +08:00
parent 6e2f9f4abb
commit e8b6f2d5e2

View File

@ -1175,8 +1175,8 @@ utils.prototype.myprompt = function (hint, value, callback) {
main.dom.inputBox.focus(); main.dom.inputBox.focus();
}); });
core.status.holdingKeys = []; core.status.holdingKeys = [];
core.platform.successCallback = callback;
core.platform.successCallback = core.platform.errorCallback = callback; core.platform.errorCallback = () => { };
} }
////// 动画显示某对象 ////// ////// 动画显示某对象 //////