diff --git a/src/components/Icon-svg/index.vue b/src/components/Icon-svg/index.vue
deleted file mode 100644
index 44881b1..0000000
--- a/src/components/Icon-svg/index.vue
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
diff --git a/src/components/SvgIcon/index.vue b/src/components/SvgIcon/index.vue
new file mode 100644
index 0000000..e331a27
--- /dev/null
+++ b/src/components/SvgIcon/index.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
diff --git a/src/icons/index.js b/src/icons/index.js
index c3b692d..14e2e13 100644
--- a/src/icons/index.js
+++ b/src/icons/index.js
@@ -1,8 +1,8 @@
import Vue from 'vue'
-import IconSvg from '@/components/Icon-svg'// svg组件
+import SvgIcon from '@/components/SvgIcon'// svg组件
// register globally
-Vue.component('icon-svg', IconSvg)
+Vue.component('svg-icon', SvgIcon)
const requireAll = requireContext => requireContext.keys().map(requireContext)
const req = require.context('./svg', false, /\.svg$/)
diff --git a/src/styles/index.scss b/src/styles/index.scss
index 4e9bba9..67d2d8b 100644
--- a/src/styles/index.scss
+++ b/src/styles/index.scss
@@ -55,12 +55,3 @@ a:hover {
.app-container {
padding: 20px;
}
-
-.svg-icon {
- width: 1em;
- height: 1em;
- vertical-align: -0.15em;
- fill: currentColor;
- overflow: hidden;
-}
-
diff --git a/src/views/layout/components/Sidebar/SidebarItem.vue b/src/views/layout/components/Sidebar/SidebarItem.vue
index 0789c0b..ca80e9b 100644
--- a/src/views/layout/components/Sidebar/SidebarItem.vue
+++ b/src/views/layout/components/Sidebar/SidebarItem.vue
@@ -3,12 +3,12 @@
- {{item.children[0].name}}
+ {{item.children[0].name}}
- {{item.name}}
+ {{item.name}}
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 103c24f..07c313b 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -5,13 +5,13 @@
vue-element-admin
-
+
-
+