diff --git a/apps/web-antd/src/components/Dict/src/data.tsx b/apps/web-antd/src/components/Dict/src/data.tsx index 3172110a..68395f8a 100644 --- a/apps/web-antd/src/components/Dict/src/data.tsx +++ b/apps/web-antd/src/components/Dict/src/data.tsx @@ -16,10 +16,7 @@ export const tagTypes: TagType = { orange: { color: 'orange', label: 'orange' }, /** 自定义预设 color可以为16进制颜色 */ pink: { color: 'pink', label: 'pink' }, - /** - * 新版processing参数有问题 暂时用blue代替 - */ - primary: { color: 'blue', label: '主要(primary)' }, + primary: { color: 'processing', label: '主要(primary)' }, purple: { color: 'purple', label: 'purple' }, red: { color: 'red', label: 'red' }, success: { color: 'success', label: '成功(success)' }, diff --git a/apps/web-antd/src/views/system/user/index.vue b/apps/web-antd/src/views/system/user/index.vue index df1df7a2..46b45a69 100644 --- a/apps/web-antd/src/views/system/user/index.vue +++ b/apps/web-antd/src/views/system/user/index.vue @@ -64,7 +64,7 @@ const deviceOptions = getDictOptions('sys_device_type'); - + processing success error diff --git a/packages/effects/hooks/src/use-design-tokens.ts b/packages/effects/hooks/src/use-design-tokens.ts index 8cf4f922..9bd129a1 100644 --- a/packages/effects/hooks/src/use-design-tokens.ts +++ b/packages/effects/hooks/src/use-design-tokens.ts @@ -36,6 +36,8 @@ export function useAntdDesignTokens() { () => { tokens.colorPrimary = getCssVariableValue('--primary'); + tokens.colorInfo = getCssVariableValue('--primary'); + tokens.colorError = getCssVariableValue('--destructive'); tokens.colorWarning = getCssVariableValue('--warning');