mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-04-12 14:40:47 +08:00
chore: jsx format
This commit is contained in:
parent
b203e3ed2d
commit
ec0a0891a1
@ -268,7 +268,7 @@ export default defineComponent({
|
||||
onMousedown={
|
||||
this.handleMousedownResizeTrigger
|
||||
}
|
||||
></div>
|
||||
/>
|
||||
) : null,
|
||||
this.nativeScrollbar ? (
|
||||
<div
|
||||
|
@ -447,7 +447,7 @@ export default defineComponent({
|
||||
style.height = '1px'
|
||||
style.background = 'red'
|
||||
}
|
||||
return <div style={style} ref="cursorRef"></div>
|
||||
return <div style={style} ref="cursorRef" />
|
||||
}
|
||||
}}
|
||||
</VTarget>,
|
||||
|
@ -86,7 +86,7 @@ function mapSlot (
|
||||
? currentInstanceClass
|
||||
: lastInstanceClass
|
||||
children.push(
|
||||
<div class={[`${clsPrefix}-radio-group__splitor`, splitorClass]}></div>,
|
||||
<div class={[`${clsPrefix}-radio-group__splitor`, splitorClass]} />,
|
||||
wrappedInstance
|
||||
)
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ export default defineComponent({
|
||||
return (
|
||||
<div class={`${clsPrefix}-tabs-tab-wrapper`}>
|
||||
{this.internalLeftPadded ? (
|
||||
<div class={`${clsPrefix}-tabs-tab-pad`}></div>
|
||||
<div class={`${clsPrefix}-tabs-tab-pad`} />
|
||||
) : null}
|
||||
<div
|
||||
key={name}
|
||||
|
@ -36,7 +36,7 @@ export function renderDropMark ({
|
||||
style.transform =
|
||||
position === 'before' ? 'translateY(-4px)' : 'translateY(4px)'
|
||||
}
|
||||
return <div style={style}></div>
|
||||
return <div style={style} />
|
||||
}
|
||||
|
||||
export function defaultAllowDrop ({
|
||||
|
Loading…
x
Reference in New Issue
Block a user