Browse Source

优化 colorpicker 事件

pull/1108/head
贤心 2 years ago
parent
commit
7ca50bd1cf
  1. 1
      src/modules/colorpicker.js

1
src/modules/colorpicker.js

@ -682,6 +682,7 @@ layui.define(['jquery', 'lay'], function(exports){
var that = thisModule.getThis(colorpicker.thisId); var that = thisModule.getThis(colorpicker.thisId);
if(!that) return; if(!that) return;
var options = that.config;
var elemColorBoxSpan = that.elemColorBox.find('.' + PICKER_TRIG_SPAN); var elemColorBoxSpan = that.elemColorBox.find('.' + PICKER_TRIG_SPAN);
//如果点击的元素是颜色框 //如果点击的元素是颜色框

Loading…
Cancel
Save