From 0331c9ec103a1882dde398b9d494a073b6bb1579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Thu, 4 Aug 2022 03:00:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20colorpicker=20=E7=9A=84?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/colorpicker.js | 2 ++ 1 file changed, 2 insertions(+) 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(); });