12345678910111213141516171819202122232425262728293031323334 |
- import { Upload } from '@element-plus/icons-vue'
- export const defaultButtonConfigMap = {
- search: {
- type: 'primary',
- icon: 'el-icon-search',
- text: '搜索'
- },
- reset: {
- type: 'default',
- icon: 'el-icon-refresh-left',
- text: '重置'
- },
- create: {
- type: 'primary',
- icon: 'el-icon-plus',
- text: '新建'
- },
- batchDelete: {
- type: 'default',
- icon: 'el-icon-delete',
- text: '删除'
- },
- export: {
- type: 'warning',
- icon: 'el-icon-download',
- plain: true,
- text: '导出'
- },
- upload: {
- type: 'default',
- icon: Upload,
- text: '上传'
- }
- }
|