函式:hasSlots()
更新時間:2025-10-10 12:02:04
Polyv Wx Live Player Component
Polyv Wx Live Player Component / utils / hasSlots
函式:hasSlots()
hasSlots(
slots,name):boolean
判斷當前是否有特定的具名插槽
參數
slots
any
插槽
name
string
具名插槽名稱
回傳值
boolean
Polyv Wx Live Player Component
Polyv Wx Live Player Component / utils / hasSlots
hasSlots(
slots,name):boolean
判斷當前是否有特定的具名插槽
any
插槽
string
具名插槽名稱
boolean
联系客服,在线咨询