保利威文档中心

帮助中心

Function: hasSlots()

更新时间:2025-10-10 12:02:04

Polyv Wx Live Player Component


Polyv Wx Live Player Component / utils / hasSlots

Function: hasSlots()

hasSlots(slots, name): boolean

判断当前是否有特定的具名插槽

Parameters

slots

any

插槽

name

string

具名插槽名字

Returns

boolean

联系客服,在线咨询
在线咨询