@blocklet/pages-kit 0.6.27 → 0.6.29
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/lib/cjs/builtin/color-picker.js +1 -1
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/utils/common.js +1 -1
- package/lib/esm/builtin/color-picker.js +1 -1
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/utils/common.js +1 -1
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -327,7 +327,7 @@ const ConfigColorDialog = function ConfigColorDialog({ ref, onSave, enableMuiPal
|
|
|
327
327
|
// 只有当前在 MUI Theme 标签页时才尝试自动转换为 MUI 色键
|
|
328
328
|
if (isActiveMuiTab) {
|
|
329
329
|
const muiKey = muiPalette.getMuiKeyByColor(state.value);
|
|
330
|
-
onSave({ value: muiKey || state.value }, handleClose);
|
|
330
|
+
onSave({ value: state.originalMuiKey || muiKey || state.value }, handleClose);
|
|
331
331
|
return;
|
|
332
332
|
}
|
|
333
333
|
}
|