fix
This commit is contained in:
@@ -108,7 +108,17 @@ export const VisibilityRuleForm: React.FC<VisibilityRuleFormProps> = ({
|
||||
</div>
|
||||
{visibilityOperatorNeedsValue(rule.operator) && (
|
||||
<div>
|
||||
<label className="ps-field-label">目标值</label>
|
||||
<div className="flex items-center justify-between gap-2">
|
||||
<label className="ps-field-label">目标值</label>
|
||||
<button
|
||||
type="button"
|
||||
disabled={!rule.value}
|
||||
onClick={() => onChange({ value: '' })}
|
||||
className="text-[9px] text-[#31a8ff] hover:underline cursor-pointer disabled:opacity-40 disabled:cursor-not-allowed disabled:no-underline shrink-0"
|
||||
>
|
||||
清空
|
||||
</button>
|
||||
</div>
|
||||
<input
|
||||
type="text"
|
||||
value={rule.value ?? ''}
|
||||
|
||||
Reference in New Issue
Block a user