@kdcloudjs/kdesign 1.8.24 → 1.8.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/kdesign.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.8.24
3
+ * @kdcloudjs/kdesign v1.8.26
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -10128,7 +10128,7 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
10128
10128
  };
10129
10129
  var handleChromeChange = function handleChromeChange(color) {
10130
10130
  var formatArr = Object(_utils_colorFormat__WEBPACK_IMPORTED_MODULE_23__["colorFormat"])(color.hex, inputCorrectColorValue ? color.rgb.a : 1);
10131
- var colorObj = formatArr[Object(_utils_colorFormat__WEBPACK_IMPORTED_MODULE_23__["valOfCorrespondingType"])(currentColorType)];
10131
+ var colorObj = formatArr[Object(_utils_colorFormat__WEBPACK_IMPORTED_MODULE_23__["valOfCorrespondingType"])(format)];
10132
10132
  if (value === undefined) {
10133
10133
  setIsFollow(false);
10134
10134
  setPanelState(formatArr, Object(_utils_removeTransparency__WEBPACK_IMPORTED_MODULE_32__["removeTransparency"])(colorObj.value, currentColorType), colorObj.value, inputCorrectColorValue ? color.rgb.a : 1, inputCorrectColorValue ? (color.rgb.a * 100).toFixed() + '%' : '100%');