|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <Drawer :class="prefixCls" @close="onClose" v-bind="getBindValues">
|
|
|
+ <Drawer :rootClassName="prefixCls" @close="onClose" v-bind="getBindValues">
|
|
|
<template #title v-if="!$slots.title">
|
|
|
<DrawerHeader
|
|
|
:title="getMergeProps.title"
|
|
@@ -94,7 +94,7 @@
|
|
|
opt.width = '100%';
|
|
|
}
|
|
|
const detailCls = `${prefixCls}__detail`;
|
|
|
- opt.class = wrapClassName ? `${wrapClassName} ${detailCls}` : detailCls;
|
|
|
+ opt.rootClassName = wrapClassName ? `${wrapClassName} ${detailCls}` : detailCls;
|
|
|
|
|
|
if (!getContainer) {
|
|
|
// TODO type error?
|