chore: display the direct command in add worker

This commit is contained in:
jialin
2024-12-23 16:33:08 +08:00
parent 4391705c9a
commit e7de1896ea
32 changed files with 359 additions and 125 deletions
+2 -3
View File
@@ -4,10 +4,9 @@
justify-content: center;
align-items: center;
font-size: var(--font-size-base);
padding: 2px;
border-radius: var(--border-radius-base);
height: 40px;
width: 40px;
height: 32px;
padding: 0 8px;
border: 1px solid var(--ant-color-border);
cursor: pointer;
+1 -1
View File
@@ -16,7 +16,7 @@ const RadioButtons: React.FC<RadioButtonsProps> = (props) => {
{options.map((option) => (
<span
key={option.value}
onClick={() => onChange(option.value)}
onClick={() => onChange({ target: { value: option.value } } as any)}
className={classNames('item', { active: value === option.value })}
>
{option.label}