云盘
志元云盘
备份云盘
Home
/
志元云盘
/
webdav
/
sync
/
c
/
vue-modbus
/
modbus-project
/
node_modules
/
@vue
/
babel-helper-vue-jsx-merge-props
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
dist
2024-07-23 06:15:03
1.09 KB
package.json
2024-07-14 16:19:04
1.02 KB
README.md
2024-07-14 16:19:04
747 B
## @vue/babel-helper-vue-jsx-merge-props A package used internally by vue jsx transformer to merge props spread. It is required to merge some prop trees like this: ```js import mergeProps from '@vue/babel-helper-vue-jsx-merge-props' const MyComponent = { render(h) { // original:
console.log($event)} {...{ on: { click: $event => doSomething($event) } }} /> return h( 'button', mergeProps([ { on: { click: $event => console.log($event), }, }, { on: { click: $event => doSomething($event), }, }, ]), ) }, } ``` This tool is used internally and there is no reason for you to ever use it.
2025-08-29 22:52:47 Friday 216.73.216.167 Runningtime:0.011s Mem:1.47 MB