perf(layout): 重构 layout 组件, 增强 carouel 轮播组件
This commit is contained in:
@@ -19,6 +19,7 @@ const props = withDefaults(
|
||||
defineProps<{
|
||||
length?: number
|
||||
modelValue?: number
|
||||
character?: string
|
||||
}>(),
|
||||
{
|
||||
length: 5,
|
||||
@@ -45,7 +46,6 @@ const mouseenter = function (index: number) {
|
||||
}
|
||||
|
||||
// select update 时, 通知 change 事件
|
||||
|
||||
emit('update:modelValue', index + 1)
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user