config.js 600 B

123456789101112131415161718192021222324252627282930313233
  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. text: '导出'
  27. },
  28. upload: {
  29. type: 'default',
  30. icon: Upload,
  31. text: '上传'
  32. }
  33. }