diff --git a/src/modules/colorpicker.js b/src/modules/colorpicker.js index adc50be7..dffe1452 100644 --- a/src/modules/colorpicker.js +++ b/src/modules/colorpicker.js @@ -706,6 +706,8 @@ layui.define(['jquery', 'lay'], function(exports){ // 取消选择的回调 typeof options.cancel === 'function' && options.cancel(that.color); + + // 移除面板 that.removePicker(); });