gi-component 0.0.23 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gi-component",
3
3
  "type": "module",
4
- "version": "0.0.23",
4
+ "version": "0.0.25",
5
5
  "description": "Vue3中基于Element Plus二次封装基础组件库",
6
6
  "author": "lin",
7
7
  "license": "MIT",
@@ -39,12 +39,12 @@ const obj: Record<string, { btnProps: Partial<ButtonProps>, btnText: string }>
39
39
  delete: { btnProps: { icon: Delete, type: 'danger' }, btnText: '删除' },
40
40
  search: { btnProps: { icon: Search, type: 'primary' }, btnText: '搜索' },
41
41
  reset: { btnProps: { type: undefined }, btnText: '重置' },
42
- upload: { btnProps: { icon: Upload, type: 'primary' }, btnText: '上传' },
42
+ upload: { btnProps: { icon: Upload }, btnText: '上传' },
43
43
  download: {
44
- btnProps: { icon: Download, type: 'primary' },
44
+ btnProps: { icon: Download },
45
45
  btnText: '下载'
46
46
  },
47
- print: { btnProps: { icon: Printer, type: 'primary' }, btnText: '打印' }
47
+ print: { btnProps: { icon: Printer }, btnText: '打印' }
48
48
  }
49
49
 
50
50
  const bindProps = computed(() => {
@@ -24,6 +24,9 @@ import { useBemClass } from '../../../hooks'
24
24
  import TableColumn from './TableColumn.vue'
25
25
 
26
26
  const props = withDefaults(defineProps<TableProps>(), {
27
+ fit: true,
28
+ showHeader: true,
29
+ selectOnIndeterminate: true,
27
30
  columns: () => [],
28
31
  pagination: () => ({})
29
32
  })