mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
chore(drawer): clean code
This commit is contained in:
parent
cedc0dc7bc
commit
d49b43bbda
@ -51,15 +51,17 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import withapp from '../../_mixins/withapp'
|
||||
import themeable from '../../_mixins/themeable'
|
||||
import usecssr from '../../_mixins/usecssr'
|
||||
import zindexable from '../../_directives/zindexable'
|
||||
import {
|
||||
configurable,
|
||||
themeable,
|
||||
usecssr
|
||||
} from '../../_mixins'
|
||||
import { zindexable } from '../../_directives'
|
||||
import formatLength from '../../_utils/css/formatLength'
|
||||
import { warn } from '../../_utils/naive/warn'
|
||||
import { useCompitable, useIsMounted } from '../../_utils/composition'
|
||||
import NLazyTeleport from '../../_base/lazy-teleport'
|
||||
import NDrawerBody from './DrawerContent.vue'
|
||||
import NDrawerBody from './DrawerBody.vue'
|
||||
import styles from './styles/index'
|
||||
|
||||
export default {
|
||||
@ -72,7 +74,7 @@ export default {
|
||||
zindexable
|
||||
},
|
||||
mixins: [
|
||||
withapp,
|
||||
configurable,
|
||||
themeable,
|
||||
usecssr(styles)
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user