feat(compile-core): handle falsy dynamic args for v-on and v-bind (#2393)
fix #2388
This commit is contained in:
@@ -10,7 +10,8 @@ import {
|
||||
makeMap
|
||||
} from '@vue/shared'
|
||||
|
||||
const shouldIgnoreProp = makeMap(`key,ref,innerHTML,textContent`)
|
||||
// leading comma for empty string ""
|
||||
const shouldIgnoreProp = makeMap(`,key,ref,innerHTML,textContent`)
|
||||
|
||||
export function ssrRenderAttrs(
|
||||
props: Record<string, unknown>,
|
||||
|
||||
Reference in New Issue
Block a user