This commit is contained in:
07akioni 2020-10-23 23:11:34 +08:00
parent 01fe81f3f3
commit 083e264ee5
4 changed files with 4 additions and 8 deletions

View File

@ -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>

View File

@ -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>

View File

@ -16,7 +16,7 @@ export const render = {
} else if (typeof render === 'number') {
return createTextVNode(String(render))
} else {
return null
return JSON.stringify(render)
}
}
}

View File

@ -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%',