1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

chore(TextEllipsis): reuse actionText variable ()

This commit is contained in:
neverland 2023-07-31 21:39:20 +08:00 committed by GitHub
parent c95d59e303
commit 8b3ee8723b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -190,7 +190,7 @@ export default defineComponent({
const renderAction = () => ( const renderAction = () => (
<span class={bem('action')} onClick={onClickAction}> <span class={bem('action')} onClick={onClickAction}>
{expanded.value ? props.collapseText : props.expandText} {actionText.value}
</span> </span>
); );