config.js 617 B

12345678910111213141516171819202122232425262728293031323334
  1. import { Upload } from '@element-plus/icons-vue'
  2. export const defaultButtonConfigMap = {
  3. search: {
  4. type: 'primary',
  5. icon: 'el-icon-search',
  6. text: '搜索'
  7. },
  8. reset: {
  9. type: 'default',
  10. icon: 'el-icon-refresh-left',
  11. text: '重置'
  12. },
  13. create: {
  14. type: 'primary',
  15. icon: 'el-icon-plus',
  16. text: '新建'
  17. },
  18. batchDelete: {
  19. type: 'default',
  20. icon: 'el-icon-delete',
  21. text: '删除'
  22. },
  23. export: {
  24. type: 'warning',
  25. icon: 'el-icon-download',
  26. plain: true,
  27. text: '导出'
  28. },
  29. upload: {
  30. type: 'default',
  31. icon: Upload,
  32. text: '上传'
  33. }
  34. }