marymelisa 4 gadi atpakaļ
vecāks
revīzija
2672ae1eda
1 mainītis faili ar 6 papildinājumiem un 5 dzēšanām
  1. 6 5
      src/layout/components/header.vue

+ 6 - 5
src/layout/components/header.vue

@@ -59,10 +59,10 @@
                 </template>
                 <a-avatar :size="24">
                     <template #icon>
-                        <!-- <SettingFilled /> -->
-                        <svg class="icon svg-icon" aria-hidden="true">
-                            <use xlink:href="#icon-yonghu4" />
-                        </svg>
+                        <SettingFilled />
+                        <!-- <svg class="icon svg-icon" aria-hidden="true">
+                            <use xlink:href="#icon-yonghu1" />
+                        </svg>-->
                     </template>
                 </a-avatar>
             </a-popover>
@@ -74,7 +74,7 @@
 <script lang="ts">
 import { defineComponent, ref, provide } from 'vue';
 import { openModal } from '@/common/setup/modal/index';
-import { UserOutlined } from '@ant-design/icons-vue';
+import { UserOutlined, SettingFilled } from '@ant-design/icons-vue';
 import Setting from '@/views/setting/index.vue';
 import { getUserName } from '@/services/bus/user';
 import { logout } from '@/services/bus/login';
@@ -137,6 +137,7 @@ export default defineComponent({
         UserOutlined,
         Setting,
         Friend,
+        SettingFilled,
     },
     props: {
         collapsed: {