Skip to content

Commit d35bed3

Browse files
jxhhdxkagol
authored andcommitted
fix(time-select): fragment makes class unable to penetrate
1 parent 9294821 commit d35bed3

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

packages/devui-vue/devui/time-select/src/time-select.tsx

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,20 @@ export default defineComponent({
1616
const { options, changeData, select, clearData, focusFun, blurFun } = useTimeSelect(props, ctx);
1717
return () => {
1818
return (
19-
<>
20-
<Select
21-
ref={select}
22-
modelValue={props.modelValue}
23-
options={options.value}
24-
onValueChange={changeData}
25-
placeholder={props.placeholder || t('placeholder')}
26-
option-disabled-key="disabled"
27-
disabled={props.disabled}
28-
allow-clear={props.clearable}
29-
size={props.size}
30-
onClear={clearData}
31-
onFocus={focusFun}
32-
onBlur={blurFun}
33-
/>
34-
</>
19+
<Select
20+
ref={select}
21+
modelValue={props.modelValue}
22+
options={options.value}
23+
onValueChange={changeData}
24+
placeholder={props.placeholder || t('placeholder')}
25+
option-disabled-key="disabled"
26+
disabled={props.disabled}
27+
allow-clear={props.clearable}
28+
size={props.size}
29+
onClear={clearData}
30+
onFocus={focusFun}
31+
onBlur={blurFun}
32+
/>
3533
);
3634
};
3735
},

0 commit comments

Comments
 (0)