From 1df5ad6d9113513e9a427d6dd08b46e25d29cedb Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 29 Jul 2021 09:39:55 +0800 Subject: [PATCH] demo --- demo/js/case/demo.color_chooser.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demo/js/case/demo.color_chooser.js b/demo/js/case/demo.color_chooser.js index cca2fc0ff..81a719864 100644 --- a/demo/js/case/demo.color_chooser.js +++ b/demo/js/case/demo.color_chooser.js @@ -9,6 +9,9 @@ Demo.Func = BI.inherit(BI.Widget, { items: [{ el: { type: "bi.color_chooser", + recommendColorsGetter: function () { + return ["#ffffff", "#9d775f", "#dd4b4b", "#ef8b07", "#fcc800"] + }, width: 24, height: 24 },