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>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import withapp from '../../_mixins/withapp'
|
import {
|
||||||
import themeable from '../../_mixins/themeable'
|
configurable,
|
||||||
import usecssr from '../../_mixins/usecssr'
|
themeable,
|
||||||
import zindexable from '../../_directives/zindexable'
|
usecssr
|
||||||
|
} from '../../_mixins'
|
||||||
|
import { zindexable } from '../../_directives'
|
||||||
import formatLength from '../../_utils/css/formatLength'
|
import formatLength from '../../_utils/css/formatLength'
|
||||||
import { warn } from '../../_utils/naive/warn'
|
import { warn } from '../../_utils/naive/warn'
|
||||||
import { useCompitable, useIsMounted } from '../../_utils/composition'
|
import { useCompitable, useIsMounted } from '../../_utils/composition'
|
||||||
import NLazyTeleport from '../../_base/lazy-teleport'
|
import NLazyTeleport from '../../_base/lazy-teleport'
|
||||||
import NDrawerBody from './DrawerContent.vue'
|
import NDrawerBody from './DrawerBody.vue'
|
||||||
import styles from './styles/index'
|
import styles from './styles/index'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -72,7 +74,7 @@ export default {
|
|||||||
zindexable
|
zindexable
|
||||||
},
|
},
|
||||||
mixins: [
|
mixins: [
|
||||||
withapp,
|
configurable,
|
||||||
themeable,
|
themeable,
|
||||||
usecssr(styles)
|
usecssr(styles)
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user