Skip to content

Commit d0191fd

Browse files
committed
fix: 优化规则合并
1 parent c7332a4 commit d0191fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/lib/mergeprops.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const normalMerge = ['props'];
22
export const toArrayMerge = ['class', 'style', 'directives'];
3-
export const functionalMerge = ['on'];
3+
export const functionalMerge = ['on', 'hook'];
44

55
const mergeProps = (objects, initial = {}, opt = {}) => {
66
const _normalMerge = [...normalMerge, ...opt['normal'] || []];

0 commit comments

Comments
 (0)