diff --git a/src/boot.js b/src/boot.js new file mode 100644 index 0000000..1afecda --- /dev/null +++ b/src/boot.js @@ -0,0 +1,10 @@ +import * as AIcons from '@ant-design/icons-vue' + +export default { + install(app) { + + for (let icon in AIcons) { + app.component(`${icon}`, AIcons[icon]) + } + } +} diff --git a/src/layouts/components/userbar.vue b/src/layouts/components/userbar.vue index 3a1a7c0..a97ee3a 100644 --- a/src/layouts/components/userbar.vue +++ b/src/layouts/components/userbar.vue @@ -1,5 +1,18 @@ - - - - - - - - - - - - -
@@ -185,7 +185,7 @@ const changeThemeColor = (color) => { align-items: center; gap: 8px; cursor: pointer; - padding: 4px 12px; + padding: 0 12px; border-radius: 4px; transition: background-color 0.3s; diff --git a/src/layouts/index.vue b/src/layouts/index.vue index cc652b6..ad5223a 100644 --- a/src/layouts/index.vue +++ b/src/layouts/index.vue @@ -14,7 +14,7 @@
-
@@ -44,7 +44,7 @@
-
@@ -85,9 +85,10 @@