fix(Select): fix polite span effect (#6467)

pull/6490/head
Cherry7 2023-04-21 13:55:28 +08:00 committed by GitHub
parent 69da428a51
commit 95642610da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -700,7 +700,7 @@ export default defineComponent({
typeof getRawInputElement === 'function' && getRawInputElement();
const domProps = {
...restProps,
} as Omit<keyof typeof restProps, typeof DEFAULT_OMIT_PROPS[number]>;
} as Omit<keyof typeof restProps, (typeof DEFAULT_OMIT_PROPS)[number]>;
// Used for raw custom input trigger
let onTriggerVisibleChange: null | ((newOpen: boolean) => void);
@ -873,7 +873,7 @@ export default defineComponent({
style={{
width: 0,
height: 0,
display: 'flex',
position: 'absolute',
overflow: 'hidden',
opacity: 0,
}}