mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[improvement] allow use ref in functional components (#2863)
This commit is contained in:
parent
fde0f39ce6
commit
ef06d058e6
@ -9,6 +9,7 @@ type Context = RenderContext & { data: VNodeData & ObjectIndex };
|
|||||||
type InheritContext = Partial<VNodeData> & ObjectIndex;
|
type InheritContext = Partial<VNodeData> & ObjectIndex;
|
||||||
|
|
||||||
const inheritKey = [
|
const inheritKey = [
|
||||||
|
'ref',
|
||||||
'style',
|
'style',
|
||||||
'class',
|
'class',
|
||||||
'attrs',
|
'attrs',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user