@blocklet/pages-kit 0.6.28 → 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.
@@ -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
  }