typo: <OperateDrawer> solts => slots
This commit is contained in:
parent
add4de0297
commit
e7418c2627
@ -18,7 +18,7 @@ interface Emits {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const emit = defineEmits<Emits>();
|
const emit = defineEmits<Emits>();
|
||||||
const solts = defineSlots();
|
const slots = defineSlots();
|
||||||
const appStore = useAppStore();
|
const appStore = useAppStore();
|
||||||
const state = reactive({ width: 0 });
|
const state = reactive({ width: 0 });
|
||||||
const visible = ref(props.modelValue);
|
const visible = ref(props.modelValue);
|
||||||
@ -79,7 +79,7 @@ const onUpdateShow = (value: boolean) => {
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
<template v-if="solts.footer" #footer>
|
<template v-if="slots.footer" #footer>
|
||||||
<slot name="footer"></slot>
|
<slot name="footer"></slot>
|
||||||
</template>
|
</template>
|
||||||
</NDrawerContent>
|
</NDrawerContent>
|
||||||
|
Loading…
Reference in New Issue
Block a user