Does vue have a method or implementation similar to React.cloneElement?

<input type="text" @click="cli" />


use the jsx syntax
to get input, in An and use this.$slots.default, but
I need to rewrite click, in component An and add some attributes. And make sure that the previous attributes are all in
so that you can implement

.

clipboard.png
but this is stupid.
whether there is an implementation similar to cloneElement.

Mar.01,2021

if you add attributes, you can use the Object.assign () method in ES6

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaa894-4f4b3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaa894-4f4b3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?