Browse Source

菜单图标更换

tongshangming 3 years ago
parent
commit
17ab5650ba
3 changed files with 5 additions and 5 deletions
  1. 0 1
      src/components/ProCardList.vue
  2. 1 1
      src/main.ts
  3. 4 3
      src/router/asyncRouter.ts

+ 0 - 1
src/components/ProCardList.vue

@@ -69,7 +69,6 @@ const getTableData = () => {
       pageNo: curPage.value
     })
     .then((res: any) => {
-      console.log('res', res)
       tableData.value = res.list || res.rows
       total.value = res.total
     })

+ 1 - 1
src/main.ts

@@ -13,7 +13,7 @@ import { install } from '@icon-park/vue-next/es/all'
 
 import 'xe-utils'
 import {
-  VXETable,
+  // VXETable,
   Filter,
   Edit,
   Menu,

+ 4 - 3
src/router/asyncRouter.ts

@@ -135,7 +135,7 @@ const asyncRouter: RouteRecordRaw[] = [
     name: 'list',
     meta: {
       title: '列表页',
-      icon: 'CircleCheck'
+      icon: 'icon-list-view'
     },
     children: [
       {
@@ -143,7 +143,8 @@ const asyncRouter: RouteRecordRaw[] = [
         name: 'cardList',
         component: () => import('@/views/list/CardList.vue'),
         meta: {
-          title: '卡片列表'
+          title: '卡片列表',
+          icon: 'icon-bank-card'
         }
       }
     ]
@@ -153,7 +154,7 @@ const asyncRouter: RouteRecordRaw[] = [
     name: 'form',
     meta: {
       title: '表单页',
-      icon: 'CircleCheck'
+      icon: 'Notebook'
     },
     children: [
       {