fix:Global Components name spelling error:GloablXXXX.vue =>GlobalXXXX.vue

This commit is contained in:
chenghx 2018-08-09 11:43:34 +08:00
parent 4e6f2dc36a
commit 14f2012270
5 changed files with 14 additions and 14 deletions

View File

@ -14,7 +14,7 @@
<script> <script>
import AIcon from 'vue-antd-ui/es/icon/icon' import AIcon from 'vue-antd-ui/es/icon/icon'
export default { export default {
name: 'GloablFooter', name: 'GlobalFooter',
components: {AIcon} components: {AIcon}
} }
</script> </script>

View File

@ -26,7 +26,7 @@ import HeaderAvatar from './HeaderlAvatar'
const ALayoutSider = ALayout.Sider const ALayoutSider = ALayout.Sider
const ALayoutHeader = ALayout.Header const ALayoutHeader = ALayout.Header
export default { export default {
name: 'GloablHeader', name: 'GlobalHeader',
components: { components: {
HeaderAvatar, HeaderAvatar,
ATooltip, ATooltip,

View File

@ -23,10 +23,10 @@
<script> <script>
import ALayout from 'vue-antd-ui/es/layout' import ALayout from 'vue-antd-ui/es/layout'
import GloablHeader from './GloablHeader' import GlobalHeader from './GlobalHeader'
import AIcon from 'vue-antd-ui/es/icon/icon' import AIcon from 'vue-antd-ui/es/icon/icon'
import IMenu from '../menu/menu' import IMenu from '../menu/menu'
import GloablFooter from './GloablFooter' import GlobalFooter from './GlobalFooter'
const ALayoutSider = ALayout.Sider const ALayoutSider = ALayout.Sider
const ALayoutHeader = ALayout.Header const ALayoutHeader = ALayout.Header
@ -37,11 +37,11 @@ const minHeight = window.innerHeight - 64 - 48
let menuData = [] let menuData = []
export default { export default {
name: 'GloablLayout', name: 'GlobalLayout',
components: { components: {
GloablFooter, GlobalFooter,
AIcon, AIcon,
GloablHeader, GlobalHeader,
ALayout, ALayout,
ALayoutSider, ALayoutSider,
ALayoutHeader, ALayoutHeader,

View File

@ -1,14 +1,14 @@
<template> <template>
<gloabl-layout> <global-layout>
<router-view /> <router-view />
</gloabl-layout> </global-layout>
</template> </template>
<script> <script>
import GloablLayout from './GloablLayout' import GlobalLayout from './GlobalLayout'
export default { export default {
name: 'MenuView', name: 'MenuView',
components: {GloablLayout} components: {GlobalLayout}
} }
</script> </script>

View File

@ -67,14 +67,14 @@
</a-form> </a-form>
</div> </div>
</div> </div>
<gloabl-footer /> <global-footer />
</div> </div>
</template> </template>
<script> <script>
import AForm from 'vue-antd-ui/es/form/Form' import AForm from 'vue-antd-ui/es/form/Form'
import ATabs from 'vue-antd-ui/es/tabs' import ATabs from 'vue-antd-ui/es/tabs'
import GloablFooter from '../layout/GloablFooter' import GlobalFooter from '../layout/GlobalFooter'
import AFormItem from 'vue-antd-ui/es/form/FormItem' import AFormItem from 'vue-antd-ui/es/form/FormItem'
import AInput from 'vue-antd-ui/es/input/Input' import AInput from 'vue-antd-ui/es/input/Input'
import AIcon from 'vue-antd-ui/es/icon/icon' import AIcon from 'vue-antd-ui/es/icon/icon'
@ -97,7 +97,7 @@ export default {
AIcon, AIcon,
AInput, AInput,
AFormItem, AFormItem,
GloablFooter, GlobalFooter,
ATabPane, ATabPane,
ATabs, ATabs,
AForm}, AForm},