feat(compiler-core): hoist element with static ref (#344)
This commit is contained in:
@@ -249,9 +249,6 @@ export function buildProps(
|
||||
const prop = props[i]
|
||||
if (prop.type === NodeTypes.ATTRIBUTE) {
|
||||
const { loc, name, value } = prop
|
||||
if (name === 'ref') {
|
||||
hasRef = true
|
||||
}
|
||||
properties.push(
|
||||
createObjectProperty(
|
||||
createSimpleExpression(
|
||||
|
||||
Reference in New Issue
Block a user