mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-09 04:31:35 +08:00
chore
This commit is contained in:
parent
01fe81f3f3
commit
083e264ee5
@ -31,11 +31,10 @@
|
||||
<n-tooltip
|
||||
:show="showPopover"
|
||||
placement="bottom"
|
||||
@update:show="handleUpdateShow"
|
||||
>
|
||||
<template v-slot:trigger>
|
||||
<n-button @click="showPopover = !showPopover">
|
||||
Manual
|
||||
Manual (No event will be emitted)
|
||||
</n-button>
|
||||
</template>
|
||||
<span>
|
||||
|
@ -31,11 +31,10 @@
|
||||
<n-tooltip
|
||||
:show="showPopover"
|
||||
placement="bottom"
|
||||
@update:show="handleUpdateShow"
|
||||
>
|
||||
<template v-slot:trigger>
|
||||
<n-button @click="showPopover = !showPopover">
|
||||
手动
|
||||
手动(不会有事件发出来)
|
||||
</n-button>
|
||||
</template>
|
||||
<span>
|
||||
|
@ -16,7 +16,7 @@ export const render = {
|
||||
} else if (typeof render === 'number') {
|
||||
return createTextVNode(String(render))
|
||||
} else {
|
||||
return null
|
||||
return JSON.stringify(render)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -92,9 +92,7 @@ export default c([
|
||||
left: 0,
|
||||
top: '50%',
|
||||
transform: 'translateY(-50%)',
|
||||
display: 'block',
|
||||
fill: 'currentColor',
|
||||
stroke: 'currentColor'
|
||||
display: 'block'
|
||||
}, [
|
||||
iconSwitchTransition({
|
||||
top: '50%',
|
||||
|
Loading…
Reference in New Issue
Block a user