修复运行异常
This commit is contained in:
@@ -149,6 +149,11 @@ const props = defineProps({
|
||||
type: String,
|
||||
default: 'top',
|
||||
validator: (value) => ['top', 'right', 'bottom', 'left'].includes(value)
|
||||
},
|
||||
// 子组件配置,支持数组或单个对象
|
||||
children: {
|
||||
type: [Array, Object],
|
||||
default: null
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user