chore: revert ui. prefix when using useUI composable

This commit is contained in:
Benjamin Canac
2023-09-21 14:30:34 +02:00
parent 60210aad75
commit f24ff9c47f
34 changed files with 35 additions and 35 deletions

View File

@@ -307,9 +307,9 @@ export default defineComponent({
},
emits: ['update:modelValue', 'open', 'close', 'change'],
setup (props, { emit, slots }) {
const { ui, attrs } = useUI('ui.select', props.ui, config, { mergeWrapper: true })
const { ui, attrs } = useUI('select', props.ui, config, { mergeWrapper: true })
const { ui: uiMenu } = useUI('ui.selectMenu', props.uiMenu, configMenu)
const { ui: uiMenu } = useUI('selectMenu', props.uiMenu, configMenu)
const popper = computed<PopperOptions>(() => defu({}, props.popper, uiMenu.value.popper as PopperOptions))