mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore(TextEllipsis): reuse actionText variable (#12138)
This commit is contained in:
parent
c95d59e303
commit
8b3ee8723b
@ -190,7 +190,7 @@ export default defineComponent({
|
||||
|
||||
const renderAction = () => (
|
||||
<span class={bem('action')} onClick={onClickAction}>
|
||||
{expanded.value ? props.collapseText : props.expandText}
|
||||
{actionText.value}
|
||||
</span>
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user