add basic

This commit is contained in:
shaohaojiecoder
2020-02-07 22:05:52 +08:00
parent 680a547df4
commit ba142266fb
19 changed files with 487 additions and 122 deletions

View File

@@ -11,6 +11,7 @@
:menu="menus"
:theme="theme"
:mode="mode"
:i18n-render="i18nRender"
@select="onSelect"
style="padding: 16px 0px;"></s-menu>
</a-layout-sider>
@@ -20,6 +21,7 @@
<script>
import Logo from '@/components/tools/Logo'
import SMenu from './index'
import { i18nRender } from '@/locales'
import { mixin, mixinDevice } from '@/utils/mixin'
export default {
@@ -53,6 +55,7 @@ export default {
}
},
methods: {
i18nRender,
onSelect (obj) {
this.$emit('menuSelect', obj)
}