Open jetBn opened 1 year ago
如果需要手动赋值 ref 的话,使用函数的形式赋值
<SwitchSettingCommonModal ref="(el)=>{modalRef.value = el}" />
如果需要手动赋值 ref 的话,使用函数的形式赋值
<SwitchSettingCommonModal ref="(el)=>{modalRef.value = el}" />
可行的, 不过实例代码应该是这样
<SwitchSettingCommonModal ref={el=>(modalRef.value = el)} />