chore(drawer): clean code

This commit is contained in:
07akioni 2020-10-07 16:47:19 +08:00
parent cedc0dc7bc
commit d49b43bbda
2 changed files with 8 additions and 6 deletions

View File

@ -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)
], ],