Commit 1095d441108fb8355628a06152d312f44097fcaa

Authored by lzdjack
Committed by GitHub
1 parent e938e8e9

feat: 替换vextable中button组件 (#2625)

src/components/VxeTable/src/componentMap.ts
@@ -15,9 +15,9 @@ import { @@ -15,9 +15,9 @@ import {
15 TimePicker, 15 TimePicker,
16 TreeSelect, 16 TreeSelect,
17 Rate, 17 Rate,
18 - Button,  
19 Empty, 18 Empty,
20 } from 'ant-design-vue'; 19 } from 'ant-design-vue';
  20 +import { Button } from '/@/components/Button';
21 21
22 const componentMap = new Map<ComponentType, Component>(); 22 const componentMap = new Map<ComponentType, Component>();
23 23
src/views/demo/table/VxeTable.vue
@@ -38,6 +38,7 @@ @@ -38,6 +38,7 @@
38 name: 'AButton', 38 name: 'AButton',
39 props: { 39 props: {
40 type: 'primary', 40 type: 'primary',
  41 + preIcon: 'mdi:page-next-outline',
41 }, 42 },
42 events: { 43 events: {
43 click: () => { 44 click: () => {