mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 19:29:04 +08:00
fix: fix the top menu adaptive failure
This commit is contained in:
@@ -217,7 +217,11 @@ export default defineComponent({
|
||||
const uuid = buildUUID();
|
||||
emit('register', modalMethods, uuid);
|
||||
return () => (
|
||||
<Modal onCancel={handleCancel} {...{ ...attrs, ...props, ...unref(getProps) }}>
|
||||
<Modal
|
||||
onCancel={handleCancel}
|
||||
{...{ ...attrs, ...props, ...unref(getProps) }}
|
||||
getContainer={() => document.querySelector('.default-layout__main')}
|
||||
>
|
||||
{{
|
||||
...extendSlots(slots, ['default']),
|
||||
default: () => renderContent(),
|
||||
|
Reference in New Issue
Block a user